From aa1a5222eebd0256d4ecffb0eefeb0f78ecf0a1f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 15 Jul 2015 19:03:33 +0800 Subject: [PATCH] ceph.in: print more detailed warning for 'ceph tell' put the full signature of "tell [options...]" instead of "tell {0}.", which could be misleading somehow. Fixes: 11101 Signed-off-by: Kefu Chai --- src/ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph.in b/src/ceph.in index 7ee4e4a92ab8..f55f8c7df17b 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -654,7 +654,7 @@ def main(): if len(childargs) >= 2 and \ childargs[0] in ['mon', 'osd'] and \ childargs[1] == 'tell': - print >> sys.stderr, '"{0} tell" is deprecated; try "tell {0}." instead (id can be "*") '.format(childargs[0]) + print >> sys.stderr, '"{0} tell" is deprecated; try "tell {0}. [options...]" instead (id can be "*") '.format(childargs[0]) return 1 if childargs in [['mon'], ['osd']]: -- 2.47.3