Browse Source

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

Dan Helfman 10 năm trước cách đây
mục cha
commit
2038354b61
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      atticmatic/command.py

+ 2 - 2
atticmatic/command.py

@@ -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',
     )