浏览代码

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

Dan Helfman 10 年之前
父节点
当前提交
2038354b61
共有 1 个文件被更改,包括 2 次插入2 次删除
  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',
     )