Options supported:
--h, --help Show this help message.
--v, --version Show the version number.
--u, --usage Show pointlessly short usage string.
+-h, --help Show this help message.
+-v, --version Show the version number.
+-u, --usage Show pointlessly short usage string.
Subcommands available:
"""
OS.rename(new, base)
finally:
OS.chdir(cwd)
- rmtree('tmp')
+ rmtree('tmp')
def cmd_update(args):
cwd = OS.getcwd()
### Main driver
class UsageError (Exception): pass
-
+
commands = {'help': (cmd_help, 0, 1, ''),
'newmaster': (cmd_newmaster, 0, 0, ''),
'setup': (cmd_setup, 0, 0, ''),