From: Dan Mick Date: Wed, 17 Jun 2015 02:24:00 +0000 (-0700) Subject: scripts/lock.py: fix help for --json-query X-Git-Tag: 1.1.0~911^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F523%2Fhead;p=teuthology.git scripts/lock.py: fix help for --json-query Fixes: #11885 Signed-off-by: Dan Mick --- diff --git a/scripts/lock.py b/scripts/lock.py index be46df039..0e012a28b 100644 --- a/scripts/lock.py +++ b/scripts/lock.py @@ -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()