]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
scripts/lock.py: fix help for --json-query 523/head
authorDan Mick <dan.mick@redhat.com>
Wed, 17 Jun 2015 02:24:00 +0000 (19:24 -0700)
committerDan Mick <dan.mick@redhat.com>
Wed, 17 Jun 2015 02:24:00 +0000 (19:24 -0700)
Fixes: #11885
Signed-off-by: Dan Mick <dan.mick@redhat.com>
scripts/lock.py

index be46df03949c3177873186d52623e6046a9e962d..0e012a28b3a2351af4e53f54b3d9b2162dc180bb 100644 (file)
@@ -165,10 +165,11 @@ def parse_args():
             JSON fragment, explicitly given, or a file containing
             JSON, containing a query for --list or --brief.
             Example: teuthology-lock --list --all --json-query
-            '{"vm_host":{"name":"mira003.front.sepia.ceph.com"}'
+            '{"vm_host":{"name":"mira003.front.sepia.ceph.com"}}'
             will list all machines who have a vm_host entry
             with a dictionary that contains at least the name key
-            with value mira003.front.sepia.ceph.com.'''),
+            with value mira003.front.sepia.ceph.com.
+            Note: be careful about quoting and the shell.'''),
     )
 
     return parser.parse_args()