File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ pub fn cli() -> App {
13
13
"Exclude specific workspace members" ,
14
14
)
15
15
. arg ( Arg :: with_name ( "all" ) . long ( "all" ) . short ( "a" ) . hidden ( true ) )
16
+ . arg (
17
+ Arg :: with_name ( "all-targets" )
18
+ . long ( "all-targets" )
19
+ . hidden ( true ) ,
20
+ )
16
21
. arg_features ( )
17
22
. arg_target_triple (
18
23
"Filter dependencies matching the given target-triple (default host platform)" ,
@@ -80,6 +85,11 @@ pub fn exec(config: &mut Config, args: &ArgMatches<'_>) -> CliResult {
80
85
)
81
86
. into ( ) ) ;
82
87
}
88
+ if args. is_present ( "all-targets" ) {
89
+ return Err (
90
+ anyhow:: format_err!( "the --all-targets flag has been changed to --target=all" ) . into ( ) ,
91
+ ) ;
92
+ }
83
93
let ws = args. workspace ( config) ?;
84
94
let charset = tree:: Charset :: from_str ( args. value_of ( "charset" ) . unwrap ( ) )
85
95
. map_err ( |e| anyhow:: anyhow!( "{}" , e) ) ?;
You can’t perform that action at this time.
0 commit comments