diff options
author | Sage Weil <sage@redhat.com> | 2016-01-15 00:59:46 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2016-01-15 00:59:46 +0100 |
commit | cae2e2c60bbad2c08e5bbaf948650cbecd686482 (patch) | |
tree | b2501f356b9f7208dca729e37c87248fdb5a3a8f /src/ceph.in | |
parent | Merge pull request #7122 from xiexingguo/xxg-wip-bluefs (diff) | |
parent | ceph.in: improve the error message (diff) | |
download | ceph-cae2e2c60bbad2c08e5bbaf948650cbecd686482.tar.xz ceph-cae2e2c60bbad2c08e5bbaf948650cbecd686482.zip |
Merge pull request #7106 from tchaikov/wip-11101
ceph: improve the error message
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/ceph.in')
-rwxr-xr-x | src/ceph.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ceph.in b/src/ceph.in index d766a7e15dd..e9df0cfdaa2 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 <name> <command> [options...]" instead.'.format(sys.argv[0]) return errno.EINVAL # fetch JSON sigs from command |