Browse Source

Add -c for --config shortcut.

Steve Thielemann 5 năm trước cách đây
mục cha
commit
ef806999ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      twgs-proxy.py

+ 1 - 1
twgs-proxy.py

@@ -17,7 +17,7 @@ import argparse
 
 parser = argparse.ArgumentParser(description="TradeWars Proxy")
 parser.add_argument(
-    "--config", type=str, help="Configuration file to load", default="config.yaml"
+    "--config", "-c", type=str, help="Configuration file to load", default="config.yaml"
 )
 parser.add_argument("--debug", action="store_true")
 args = parser.parse_args()