From d207abf8d02655a1524799dd22dcb403945768ec Mon Sep 17 00:00:00 2001 From: Patrick Nawracay Date: Tue, 15 Jan 2019 13:49:03 +0100 Subject: [PATCH] ceph_argparse: fix --verbose Fixes traceback when issuing `ceph --verbose osd purge `. Signed-off-by: Patrick Nawracay --- src/pybind/ceph_argparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/ceph_argparse.py b/src/pybind/ceph_argparse.py index 26c24f275123d..0071e62b62fb3 100644 --- a/src/pybind/ceph_argparse.py +++ b/src/pybind/ceph_argparse.py @@ -1138,7 +1138,7 @@ def validate_command(sigdict, args, verbose=False): if matched < best_match_cnt: continue if verbose: - print("better match: {0} > {1}: {3} ".format( + print("better match: {0} > {1}: {2} ".format( matched, best_match_cnt, concise_sig(sig) ), file=sys.stderr) if matched > best_match_cnt: -- 2.39.5