File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub fn cli() -> App {
1010 )
1111 . arg ( opt ( "quiet" , "No output printed to stdout" ) . short ( "q" ) )
1212 . arg ( Arg :: with_name ( "token" ) )
13+ // --host is deprecated (use --registry instead)
1314 . arg (
1415 opt ( "host" , "Host to set the token for" )
1516 . value_name ( "HOST" )
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ pub fn cli() -> App {
1919 "Display the tree for all packages in the workspace" ,
2020 "Exclude specific workspace members" ,
2121 )
22+ // Deprecated, use --no-dedupe instead.
2223 . arg ( Arg :: with_name ( "all" ) . long ( "all" ) . short ( "a" ) . hidden ( true ) )
24+ // Deprecated, use --target=all instead.
2325 . arg (
2426 Arg :: with_name ( "all-targets" )
2527 . long ( "all-targets" )
@@ -30,6 +32,7 @@ pub fn cli() -> App {
3032 "Filter dependencies matching the given target-triple (default host platform). \
3133 Pass `all` to include all targets.",
3234 )
35+ // Deprecated, use -e=no-dev instead.
3336 . arg (
3437 Arg :: with_name ( "no-dev-dependencies" )
3538 . long ( "no-dev-dependencies" )
@@ -52,7 +55,9 @@ pub fn cli() -> App {
5255 )
5356 . short ( "i" ) ,
5457 )
58+ // Deprecated, use --prefix=none instead.
5559 . arg ( Arg :: with_name ( "no-indent" ) . long ( "no-indent" ) . hidden ( true ) )
60+ // Deprecated, use --prefix=depth instead.
5661 . arg (
5762 Arg :: with_name ( "prefix-depth" )
5863 . long ( "prefix-depth" )
Original file line number Diff line number Diff line change @@ -32,21 +32,25 @@ pub fn cli() -> App {
3232 . long ( "versioned-dirs" )
3333 . help ( "Always include version in subdir name" ) ,
3434 )
35+ // Not supported.
3536 . arg (
3637 Arg :: with_name ( "no-merge-sources" )
3738 . long ( "no-merge-sources" )
3839 . hidden ( true ) ,
3940 )
41+ // Not supported.
4042 . arg (
4143 Arg :: with_name ( "relative-path" )
4244 . long ( "relative-path" )
4345 . hidden ( true ) ,
4446 )
47+ // Not supported.
4548 . arg (
4649 Arg :: with_name ( "only-git-deps" )
4750 . long ( "only-git-deps" )
4851 . hidden ( true ) ,
4952 )
53+ // Not supported.
5054 . arg (
5155 Arg :: with_name ( "disallow-duplicates" )
5256 . long ( "disallow-duplicates" )
You can’t perform that action at this time.
0 commit comments