@@ -70,10 +70,9 @@ struct Opts {
70
70
#[ structopt(
71
71
long = "regress" ,
72
72
default_value = "error" ,
73
- help = "Customize what is treated as regression." ,
74
- long_help = "Customize what is treated as regression. \
75
- Values include `--regress=error`, `--regress=non-error`, \
76
- `--regress=ice`, and `--regress=success`."
73
+ help = "Custom regression definition" ,
74
+ long_help = "Custom regression definition \
75
+ [error|non-error|ice|success]"
77
76
) ]
78
77
regress : String ,
79
78
@@ -85,7 +84,7 @@ struct Opts {
85
84
#[ structopt( long = "host" , help = "Host triple for the compiler" , default_value = "unknown" ) ]
86
85
host : String ,
87
86
88
- #[ structopt( long = "target" , help = "Target platform to install for cross -compilation" ) ]
87
+ #[ structopt( long = "target" , help = "Cross -compilation target platform " ) ]
89
88
target : Option < String > ,
90
89
91
90
#[ structopt( long = "preserve" , help = "Preserve the downloaded artifacts" ) ]
@@ -95,65 +94,64 @@ struct Opts {
95
94
preserve_target : bool ,
96
95
97
96
#[ structopt(
98
- long = "with-cargo" , help = "Download cargo, by default the installed cargo is used "
97
+ long = "with-cargo" , help = "Download cargo [ default: installed cargo] "
99
98
) ]
100
99
with_cargo : bool ,
101
100
102
101
#[ structopt(
103
- long = "with-src" , help = "Download rust-src, by default this is not downloaded "
102
+ long = "with-src" , help = "Download rust-src [ default: no download] "
104
103
) ]
105
104
with_src : bool ,
106
105
107
106
#[ structopt(
108
107
long = "test-dir" ,
109
- help = "Directory to test; this is where you usually run `cargo build` " ,
108
+ help = "Root directory for tests " ,
110
109
default_value = "." ,
111
110
parse( from_os_str)
112
111
) ]
113
112
test_dir : PathBuf ,
114
113
115
114
#[ structopt(
116
115
long = "prompt" ,
117
- help = "Display a prompt in between runs to allow for manually \
118
- inspecting output and retrying."
116
+ help = "Manually evaluate for regression with prompts"
119
117
) ]
120
118
prompt : bool ,
121
119
122
120
#[ structopt( short = "v" , long = "verbose" , parse( from_occurrences) ) ]
123
121
verbosity : usize ,
124
122
125
123
#[ structopt(
126
- help = "Arguments to pass to cargo when running " ,
124
+ help = "Arguments to pass to cargo during tests " ,
127
125
raw( multiple = "true" , last = "true" ) ,
128
126
parse( from_os_str)
129
127
) ]
130
128
cargo_args : Vec < OsString > ,
131
129
132
130
#[ structopt(
133
131
long = "start" ,
134
- help = "the left- bound for the search; this point should *not* have the regression"
132
+ help = "Left bound for search (*without* regression) "
135
133
) ]
136
134
start : Option < Bound > ,
137
135
138
136
#[ structopt(
139
- long = "end" , help = "the right- bound for the search; this point should have the regression"
137
+ long = "end" , help = "Right bound for search (*with* regression) "
140
138
) ]
141
139
end : Option < Bound > ,
142
140
143
141
#[ structopt(
144
- long = "by-commit" , help = "without specifying bounds, bisect via commit artifacts"
142
+ long = "by-commit" , help = "Bisect via commit artifacts"
145
143
) ]
146
144
by_commit : bool ,
147
145
148
- #[ structopt( long = "install" , help = "install the given artifact" ) ]
146
+ #[ structopt( long = "install" , help = "Install the given artifact" ) ]
149
147
install : Option < Bound > ,
150
148
151
- #[ structopt( long = "force-install" , help = "force installation over existing artifacts" ) ]
149
+ #[ structopt( long = "force-install" , help = "Force installation over existing artifacts" ) ]
152
150
force_install : bool ,
153
151
154
152
#[ structopt(
155
153
long = "script" ,
156
- help = "script to run instead of cargo to test for regression " ,
154
+ help = "Script replacement for ` cargo build` command " ,
157
155
parse( from_os_str)
158
156
) ]
159
157
script : Option < PathBuf > ,
0 commit comments