From: Kefu Chai Date: Tue, 5 Jan 2016 07:00:59 +0000 (+0800) Subject: ceph.in: improve the error message X-Git-Tag: v0.94.10~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3ba985c38c07f85056f90d125e32ea277c65932;p=ceph.git ceph.in: improve the error message Fixes: #11101 Signed-off-by: Kefu Chai (cherry picked from commit e19e8f1553fdf8b6b642d3222d28f242fab696f0) --- diff --git a/src/ceph.in b/src/ceph.in index 54140126e3c..cf6f9a7a01c 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