File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,14 @@ Read more about lockfiles in :ref:`tutorial_consuming_packages_versioning_lockfi
214
214
Update
215
215
------
216
216
217
- The ``conan install `` command has a ``--update `` argument that will force the re-evaluation of the selected items of the dependency graph,
217
+ The ``conan install `` command has an ``--update `` argument that will force the re-evaluation of the selected items of the dependency graph,
218
218
allowing for the update of the dependencies to the latest version if using version ranges, or to the latest revision of the same version,
219
219
when those versions are not locked in the given lockfile. Passing ``--update `` will check every package in the dependency graph,
220
220
but it is also possible to pass a package name to the ``--update `` argument (it can be added to the command more than once with different names),
221
221
to only update those packages, which avoids the re-evaluation of the whole graph.
222
+
223
+ .. code-block :: bash
224
+
225
+ $ conan install . --update # Update all packages in the graph
226
+ $ conan install . --update=openssl # Update only the openssl package
227
+ $ conan install . --update=openssl --update=boost # Update both openssl and boost packages
You can’t perform that action at this time.
0 commit comments