From 8dd3618315cfab4cc126bcb1fd52b17d33d50b90 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 28 May 2013 19:07:14 -0700 Subject: [PATCH] ceph: finish changing bestsigs to bestcmds Signed-off-by: Dan Mick --- src/ceph | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ceph b/src/ceph index 45e091ae4a817..f93acf90f9b0b 100755 --- a/src/ceph +++ b/src/ceph @@ -982,7 +982,7 @@ def validate_command(parsed_args, sigdict, args): # determined in our callers, so it's ok to remove it here. if args[0] == 'tell': args = args[2:] - # look for best match, accumulate possibles in bestsigs + # look for best match, accumulate possibles in bestcmds # (so we can maybe give a more-useful error message) best_match_cnt = 0 bestcmds = [] @@ -1004,9 +1004,9 @@ def validate_command(parsed_args, sigdict, args): bestcmds.append({cmdtag:cmd}) if verbose: - print >> sys.stderr, "bestsigs: ", bestsigs + print >> sys.stderr, "bestcmds: ", bestcmds - # for everything in bestsigs, look for a true match + # for everything in bestcmds, look for a true match for cmdsig in bestcmds: for cmd in cmdsig.itervalues(): sig = cmd['sig'] @@ -1250,7 +1250,7 @@ def complete(sigdict, args, target): # determined in our callers, so it's ok to remove it here. if len(args) and args[0] == 'tell': args = args[2:] - # look for best match, accumulate possibles in bestsigs + # look for best match, accumulate possibles in bestcmds # (so we can maybe give a more-useful error message) best_match_cnt = 0 bestcmds = [] -- 2.39.5