12167: Allow --silent to be combined with -*-progress flags.
authorTom Clegg <tclegg@veritasgenetics.com>
Mon, 11 Dec 2017 20:43:04 +0000 (15:43 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 11 Dec 2017 20:44:01 +0000 (15:44 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

sdk/python/arvados/commands/put.py

index 8bfe520da075280f9815397f28341659f67e3110..97ff8c6f3fe12eaa5d936a4dcdeb418d4eb036c3 100644 (file)
@@ -193,9 +193,10 @@ Display machine-readable progress on stderr (bytes and, if known,
 total data size).
 """)
 
-_group.add_argument('--silent', action='store_true',
-                    help="""
-Do not print any debug messages to console. (Any error messages will still be displayed.)
+run_opts.add_argument('--silent', action='store_true',
+                      help="""
+Do not print any debug messages to console. (Any error messages will
+still be displayed.)
 """)
 
 _group = run_opts.add_mutually_exclusive_group()