Skip to content

Commit

Permalink
conan list args (#3927)
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded authored Dec 2, 2024
1 parent 42ab51c commit 49c0228
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion reference/commands/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Listing recipe references
:caption: *list all references on local cache*
# Make sure to quote the argument
$ conan list "*"
$ conan list
Local Cache
hello
hello/2.26.1@mycompany/testing
Expand All @@ -51,6 +51,9 @@ Listing recipe references
zlib
zlib/1.2.11
This command is equivalent to ``$ conan list "*"`` (make sure to quote the argument), if no argument
is provided Conan will list all packages.
.. code-block:: text
:caption: *list all versions of a reference*
Expand Down
12 changes: 6 additions & 6 deletions tutorial/versioning/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ That we can create ``pkg/1.0`` package with:
pkg/1.0 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -59,7 +59,7 @@ create the new ``pkg/1.1`` version:
pkg/1.1 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -85,7 +85,7 @@ remove the ``version`` attribute from the recipe and do:
pkg/1.2 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down Expand Up @@ -121,7 +121,7 @@ Then, this can be done:
pkg/1.3 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -148,7 +148,7 @@ command line argument is not provided with the following syntax:
pkg/1.4 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down Expand Up @@ -186,7 +186,7 @@ Likewise, it is possible to obtain the version from a Git tag:
pkg/1.5 .
...
$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down

0 comments on commit 49c0228

Please sign in to comment.