File tree 2 files changed +6
-3
lines changed 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ def get_options():
172
172
args [d ] = parse_bool_arg (args [d ])
173
173
# any program given on the command line overrides that in config files
174
174
args ['program' ] = '' or arg_program
175
+ # add missing help option
176
+ if not args .has_key ('help' ):
177
+ args ['help' ] = None
175
178
return args
176
179
177
180
def default_args (conf_dict ):
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ def main():
25
25
if plat .system == 'Android' :
26
26
# resume from existing directory (or clear it if we're not resuming)
27
27
if not config .options ['resume' ] and os .path .exists (temp_dir ):
28
- shutil .rmtree (temp_dir )
29
- if not os .path .exists (temp_dir ):
30
- os .mkdir (temp_dir )
28
+ shutil .rmtree (plat . temp_dir )
29
+ if not os .path .exists (plat . temp_dir ):
30
+ os .mkdir (plat . temp_dir )
31
31
# set up the logging system
32
32
prepare_logging ()
33
33
if config .options ['version' ]:
You can’t perform that action at this time.
0 commit comments