We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97ce8df commit 7ab8d1bCopy full SHA for 7ab8d1b
1 file changed
scripts/xapp-gpu-offload
@@ -56,7 +56,7 @@ def exec_command(_id, command):
56
57
parser = argparse.ArgumentParser(description="Launch a program using an alternate GPU, or if there are no others, like a normal program.",
58
formatter_class=argparse.RawDescriptionHelpFormatter)# epilog=mode_help)
59
-parser.add_argument("command", type=str, nargs="*", help="The program to run and arguments.")
+parser.add_argument("command", type=str, nargs=argparse.REMAINDER, help="The program to run and arguments.")
60
parser.add_argument("-i", "--id", help="Specify the GPU to use. If omitted, the first non-default GPU will be used.",
61
action="store", type=int, default=-1)
62
parser.add_argument("-l", "--list-gpus", help="List available GPUs.",
0 commit comments