瀏覽代碼

Disallow abbreviated arguments

Unrud 5 年之前
父節點
當前提交
742a067171
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      radicale/__main__.py

+ 1 - 1
radicale/__main__.py

@@ -55,7 +55,7 @@ def run():
 
     # Get command-line arguments
     parser = argparse.ArgumentParser(
-        prog="radicale", usage="%(prog)s [OPTIONS]")
+        prog="radicale", usage="%(prog)s [OPTIONS]", allow_abbrev=False)
 
     parser.add_argument("--version", action="version", version=VERSION)
     parser.add_argument("--verify-storage", action="store_true",