Skip to content

Commit 22f3168

Browse files
DodoMomodanimtb
authored andcommitted
--package argument deprecation (conan-io#1317)
1 parent b4505b5 commit 22f3168

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

reference/commands/misc/copy.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ them from one user to another.
2020
user_channel Destination user/channel. e.g., lasote/testing
2121
2222
optional arguments:
23-
-h, --help show this help message and exit
23+
-h, --help show this help message and exit
2424
-p PACKAGE, --package PACKAGE
25-
copy specified package ID
25+
copy specified package ID [DEPRECATED: use full reference instead]
2626
--all Copy all packages from the specified package recipe
2727
--force Override destination packages and the package recipe
2828

reference/commands/misc/download.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If no remote is specified, it will use the default remote.
2626
-h, --help show this help message and exit
2727
-p PACKAGE, --package PACKAGE
2828
Force install specified package ID (ignore
29-
settings/options)
29+
settings/options) [DEPRECATED: use full reference instead]
3030
-r REMOTE, --remote REMOTE
3131
look in the specified remote server
3232
-re, --recipe Downloads only the recipe
@@ -44,7 +44,7 @@ If no remote is specified, it will use the default remote.
4444

4545
.. code-block:: bash
4646
47-
$ conan download OpenSSL/1.0.2i@conan/stable -r foo -p 8018a4df6e7d2b4630a814fa40c81b85b9182d2
47+
$ conan download OpenSSL/1.0.2i@conan/stable:8018a4df6e7d2b4630a814fa40c81b85b9182d2 -r foo
4848
4949
- Download only the recipe of package **OpenSSL/1.0.2i@conan/stable** from the remote **foo**:
5050

0 commit comments

Comments
 (0)