@@ -74,12 +74,9 @@ pub enum Crater {
7474
7575 #[ structopt( name = "define-ex" , about = "define an experiment" ) ]
7676 DefineEx {
77- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
78- ex : Ex ,
79- #[ structopt( name = "tc-1" ) ]
80- tc1 : Toolchain ,
81- #[ structopt( name = "tc-2" ) ]
82- tc2 : Toolchain ,
77+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
78+ #[ structopt( name = "tc-1" ) ] tc1 : Toolchain ,
79+ #[ structopt( name = "tc-2" ) ] tc2 : Toolchain ,
8380 #[ structopt( name = "mode" , long = "mode" ,
8481 default_value_raw = "ExMode::BuildAndTest.to_str()" ,
8582 possible_values_raw = "&[
@@ -102,8 +99,7 @@ pub enum Crater {
10299
103100 #[ structopt( name = "prepare-ex" , about = "prepare shared and local data for experiment" ) ]
104101 PrepareEx {
105- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
106- ex : Ex ,
102+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
107103 } ,
108104
109105 #[ structopt( name = "copy-ex" , about = "copy all data from one experiment to another" ) ]
@@ -114,53 +110,42 @@ pub enum Crater {
114110
115111 #[ structopt( name = "delete-ex" , about = "delete shared data for experiment" ) ]
116112 DeleteEx {
117- #[ structopt( long = "ex" , default_value = "default" ) ]
118- ex : Ex ,
113+ #[ structopt( long = "ex" , default_value = "default" ) ] ex : Ex ,
119114 } ,
120115
121116 #[ structopt( name = "delete-all-target-dirs" ,
122117 about = "delete the cargo target dirs for an experiment" ) ]
123118 DeleteAllTargetDirs {
124- #[ structopt( long = "ex" , default_value = "default" ) ]
125- ex : Ex ,
119+ #[ structopt( long = "ex" , default_value = "default" ) ] ex : Ex ,
126120 } ,
127121
128122 #[ structopt( name = "delete-all-results" , about = "delete all results for an experiment" ) ]
129123 DeleteAllResults {
130- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
131- ex : Ex ,
124+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
132125 } ,
133126
134127 #[ structopt( name = "delete-result" , about = "delete results for a crate from an experiment" ) ]
135128 DeleteResult {
136- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
137- ex : Ex ,
138- #[ structopt( name = "toolchain" , long = "toolchain" , short = "t" ) ]
139- tc : Option < Toolchain > ,
140- #[ structopt( name = "crate" ) ]
141- krate : ExCrate ,
129+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
130+ #[ structopt( name = "toolchain" , long = "toolchain" , short = "t" ) ] tc : Option < Toolchain > ,
131+ #[ structopt( name = "crate" ) ] krate : ExCrate ,
142132 } ,
143133
144134 #[ structopt( name = "run" , about = "run an experiment, with all toolchains" ) ]
145135 Run {
146- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
147- ex : Ex ,
136+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
148137 } ,
149138
150139 #[ structopt( name = "run-tc" , about = "run an experiment, with a single toolchain" ) ]
151140 RunTc {
152- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
153- ex : Ex ,
154- #[ structopt( name = "toolchain" ) ]
155- tc : Toolchain ,
141+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
142+ #[ structopt( name = "toolchain" ) ] tc : Toolchain ,
156143 } ,
157144
158145 #[ structopt( name = "gen-report" , about = "generate the experiment report" ) ]
159146 GenReport {
160- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
161- ex : Ex ,
162- #[ structopt( name = "destination" ) ]
163- dest : Dest ,
147+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
148+ #[ structopt( name = "destination" ) ] dest : Dest ,
164149 } ,
165150
166151 #[ structopt( name = "publish-report" , about = "publish the experiment report to S3" ) ]
0 commit comments