diff --git a/reference/commands/list.rst b/reference/commands/list.rst index 7f3b0990211e..b7b2034c82cf 100644 --- a/reference/commands/list.rst +++ b/reference/commands/list.rst @@ -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 @@ -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* diff --git a/tutorial/versioning/versions.rst b/tutorial/versioning/versions.rst index 6812ff6b7dfd..8fad952afcc5 100644 --- a/tutorial/versioning/versions.rst +++ b/tutorial/versioning/versions.rst @@ -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 @@ -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 @@ -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 @@ -121,7 +121,7 @@ Then, this can be done: pkg/1.3 . ... - $ conan list "*" + $ conan list "pkg/*" Local Cache pkg pkg/1.0 @@ -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 @@ -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