From e19e8f1553fdf8b6b642d3222d28f242fab696f0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 5 Jan 2016 15:00:59 +0800 Subject: [PATCH] ceph.in: improve the error message Fixes: #11101 Signed-off-by: Kefu Chai --- src/ceph.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ceph.in b/src/ceph.in index 1142b20d2bc..597eeecc2f6 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -814,9 +814,8 @@ def main(): childargs = injectargs if not len(childargs): print >> sys.stderr, \ - 'Cannot use \'tell\' with interactive mode.', \ - 'For an interactive shell,', \ - 'please start "{0}" without non-option arguments.'.format(sys.argv[0]) + '"{0} tell" requires additional arguments.'.format(sys.argv[0]), \ + 'Try "{0} tell [options...]" instead.'.format(sys.argv[0]) return errno.EINVAL # fetch JSON sigs from command -- 2.47.3