@@ -91,10 +91,10 @@ pub trait CommandExt: Sized {
91
91
all : & ' static str ,
92
92
) -> Self {
93
93
self . arg_targets_lib_bin_example ( lib, bin, bins, example, examples)
94
- . _arg ( optional_multi_opt ( "test" , "NAME" , test) )
95
94
. _arg ( flag ( "tests" , tests) )
96
- . _arg ( optional_multi_opt ( "bench " , "NAME" , bench ) )
95
+ . _arg ( optional_multi_opt ( "test " , "NAME" , test ) )
97
96
. _arg ( flag ( "benches" , benches) )
97
+ . _arg ( optional_multi_opt ( "bench" , "NAME" , bench) )
98
98
. _arg ( flag ( "all-targets" , all) )
99
99
}
100
100
@@ -107,10 +107,10 @@ pub trait CommandExt: Sized {
107
107
examples : & ' static str ,
108
108
) -> Self {
109
109
self . _arg ( flag ( "lib" , lib) )
110
- . _arg ( optional_multi_opt ( "bin" , "NAME" , bin) )
111
110
. _arg ( flag ( "bins" , bins) )
112
- . _arg ( optional_multi_opt ( "example " , "NAME" , example ) )
111
+ . _arg ( optional_multi_opt ( "bin " , "NAME" , bin ) )
113
112
. _arg ( flag ( "examples" , examples) )
113
+ . _arg ( optional_multi_opt ( "example" , "NAME" , example) )
114
114
}
115
115
116
116
fn arg_targets_bins_examples (
0 commit comments