Browse Source

hm. command choices

jmelesky 7 years ago
parent
commit
e7ee339e64
1 changed files with 2 additions and 2 deletions
  1. 2 2
      punt

+ 2 - 2
punt

@@ -16,7 +16,7 @@ bottledir.mkdir(parents=True, exist_ok=True)
 
 # minimum start:
 #
-#   $ punt install bleh.exe
+#   $ punt install bottle bleh.exe
 #
 
 
@@ -31,7 +31,7 @@ def run(bottle, exe):
 
 if __name__ == '__main__':
     parser = argparse.ArgumentParser(description="Command-line tool for using and manipulating wine 'bottle's")
-    parser.add_argument('command', help="the subcommand to run")
+    parser.add_argument('command', choices=['install', 'run', 'list', 'delete'])
     parser.add_argument('bottle', help="the name of the bottle")
     parser.add_argument('app', help="the path to the windows executable to run")
     args = parser.parse_args()