File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ def get_options():
172172 args [d ] = parse_bool_arg (args [d ])
173173 # any program given on the command line overrides that in config files
174174 args ['program' ] = '' or arg_program
175+ # add missing help option
176+ if not args .has_key ('help' ):
177+ args ['help' ] = None
175178 return args
176179
177180def default_args (conf_dict ):
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ def main():
2525 if plat .system == 'Android' :
2626 # resume from existing directory (or clear it if we're not resuming)
2727 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 )
3131 # set up the logging system
3232 prepare_logging ()
3333 if config .options ['version' ]:
You can’t perform that action at this time.
0 commit comments