mirror of https://github.com/m-labs/artiq.git
doc: cli argument submission format
This commit is contained in:
parent
9b5b4c07ea
commit
f4e3b3a0a5
|
@ -75,7 +75,7 @@ def get_argparser():
|
||||||
parser_add.add_argument("file", metavar="FILE",
|
parser_add.add_argument("file", metavar="FILE",
|
||||||
help="file containing the experiment to run")
|
help="file containing the experiment to run")
|
||||||
parser_add.add_argument("arguments", metavar="ARGUMENTS", nargs="*",
|
parser_add.add_argument("arguments", metavar="ARGUMENTS", nargs="*",
|
||||||
help="run arguments")
|
help="run arguments, use format KEY=VALUE")
|
||||||
|
|
||||||
parser_delete = subparsers.add_parser("delete",
|
parser_delete = subparsers.add_parser("delete",
|
||||||
help="delete an experiment "
|
help="delete an experiment "
|
||||||
|
|
|
@ -161,7 +161,7 @@ def get_argparser(with_file=True):
|
||||||
parser.add_argument("file", metavar="FILE",
|
parser.add_argument("file", metavar="FILE",
|
||||||
help="file containing the experiment to run")
|
help="file containing the experiment to run")
|
||||||
parser.add_argument("arguments", metavar="ARGUMENTS", nargs="*",
|
parser.add_argument("arguments", metavar="ARGUMENTS", nargs="*",
|
||||||
help="run arguments")
|
help="run arguments, use format KEY=VALUE")
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue