From: Kefu Chai Date: Tue, 5 Jan 2016 07:00:59 +0000 (+0800) Subject: ceph.in: improve the error message X-Git-Tag: v10.0.3~41^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e19e8f1553fdf8b6b642d3222d28f242fab696f0;p=ceph.git ceph.in: improve the error message Fixes: #11101 Signed-off-by: Kefu Chai --- diff --git a/src/ceph.in b/src/ceph.in index 1142b20d2bce..597eeecc2f69 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