For convenience, adding some short-form arguments in addition to the long-form arguments.

This commit is contained in:
Dan Helfman 2014-12-01 22:47:51 -08:00
parent 9d7db93655
commit 2038354b61

View file

@ -13,7 +13,7 @@ def parse_arguments():
'''
parser = ArgumentParser()
parser.add_argument(
'--config',
'-c', '--config',
dest='config_filename',
default='/etc/atticmatic/config',
help='Configuration filename',
@ -25,7 +25,7 @@ def parse_arguments():
help='Excludes filename',
)
parser.add_argument(
'--verbose',
'-v', '--verbose',
action='store_true',
help='Display verbose progress information',
)