From a3ba985c38c07f85056f90d125e32ea277c65932 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 (cherry picked from commit e19e8f1553fdf8b6b642d3222d28f242fab696f0) --- src/ceph.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ceph.in b/src/ceph.in index 54140126e3cd6..cf6f9a7a01c19 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -798,9 +798,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.39.5