@@ -70,10 +70,9 @@ struct Opts {
7070 #[ structopt(
7171 long = "regress" ,
7272 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]"
7776 ) ]
7877 regress : String ,
7978
@@ -85,7 +84,7 @@ struct Opts {
8584 #[ structopt( long = "host" , help = "Host triple for the compiler" , default_value = "unknown" ) ]
8685 host : String ,
8786
88- #[ structopt( long = "target" , help = "Target platform to install for cross -compilation" ) ]
87+ #[ structopt( long = "target" , help = "Cross -compilation target platform " ) ]
8988 target : Option < String > ,
9089
9190 #[ structopt( long = "preserve" , help = "Preserve the downloaded artifacts" ) ]
@@ -95,65 +94,64 @@ struct Opts {
9594 preserve_target : bool ,
9695
9796 #[ 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] "
9998 ) ]
10099 with_cargo : bool ,
101100
102101 #[ 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] "
104103 ) ]
105104 with_src : bool ,
106105
107106 #[ structopt(
108107 long = "test-dir" ,
109- help = "Directory to test; this is where you usually run `cargo build` " ,
108+ help = "Root directory for tests " ,
110109 default_value = "." ,
111110 parse( from_os_str)
112111 ) ]
113112 test_dir : PathBuf ,
114113
115114 #[ structopt(
116115 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"
119117 ) ]
120118 prompt : bool ,
121119
122120 #[ structopt( short = "v" , long = "verbose" , parse( from_occurrences) ) ]
123121 verbosity : usize ,
124122
125123 #[ structopt(
126- help = "Arguments to pass to cargo when running " ,
124+ help = "Arguments to pass to cargo during tests " ,
127125 raw( multiple = "true" , last = "true" ) ,
128126 parse( from_os_str)
129127 ) ]
130128 cargo_args : Vec < OsString > ,
131129
132130 #[ structopt(
133131 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) "
135133 ) ]
136134 start : Option < Bound > ,
137135
138136 #[ 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) "
140138 ) ]
141139 end : Option < Bound > ,
142140
143141 #[ structopt(
144- long = "by-commit" , help = "without specifying bounds, bisect via commit artifacts"
142+ long = "by-commit" , help = "Bisect via commit artifacts"
145143 ) ]
146144 by_commit : bool ,
147145
148- #[ structopt( long = "install" , help = "install the given artifact" ) ]
146+ #[ structopt( long = "install" , help = "Install the given artifact" ) ]
149147 install : Option < Bound > ,
150148
151- #[ structopt( long = "force-install" , help = "force installation over existing artifacts" ) ]
149+ #[ structopt( long = "force-install" , help = "Force installation over existing artifacts" ) ]
152150 force_install : bool ,
153151
154152 #[ structopt(
155153 long = "script" ,
156- help = "script to run instead of cargo to test for regression " ,
154+ help = "Script replacement for ` cargo build` command " ,
157155 parse( from_os_str)
158156 ) ]
159157 script : Option < PathBuf > ,
0 commit comments