From 8a480080160fb8f19cb5340509c12ce1b60fb6d0 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 16 Jun 2015 19:24:00 -0700 Subject: [PATCH] scripts/lock.py: fix help for --json-query Fixes: #11885 Signed-off-by: Dan Mick --- scripts/lock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/lock.py b/scripts/lock.py index be46df0394..0e012a28b3 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() -- 2.39.5