Skip to content

Commit

Permalink
ceph.in: improve the error message
Browse files Browse the repository at this point in the history
Fixes: #11101
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e19e8f1)
  • Loading branch information
tchaikov authored and smithfarm committed Aug 29, 2016
1 parent 838cd35 commit b66c417
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ceph.in
Expand Up @@ -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 <name> <command> [options...]" instead.'.format(sys.argv[0])
return errno.EINVAL

# fetch JSON sigs from command
Expand Down

0 comments on commit b66c417

Please sign in to comment.