From: Sam Lang Date: Fri, 1 Feb 2013 13:46:04 +0000 (-0600) Subject: run.py: Fix argument parsing for --name X-Git-Tag: v0.94.10~27^2^2~364^2~1050 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=933cc3c382e1acc7ba6b90e19eca37a3f027e2f5;p=ceph.git run.py: Fix argument parsing for --name With the addition of the --name argument to the teuthology program (run.py), jobs were failing because --name was being treated as a non-arg option, even though the name was being supplied by the workers. Fix that and give it a metavar. Signed-off-by: Sam Lang --- diff --git a/teuthology/run.py b/teuthology/run.py index fcfc3f8e9d85..6136b091ea7c 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -63,8 +63,7 @@ def parse_args(): ) parser.add_argument( '--name', - action='store_true', - default=False, + metavar='NAME', help='name for this teuthology run', )