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