From: David Zafman Date: Wed, 21 Oct 2015 01:10:39 +0000 (-0700) Subject: ceph.in: Notify user that 'tell' can't be used in interactive mode X-Git-Tag: v10.0.0~28^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a341d977d42a3010267b64e15cebae3085507297;p=ceph.git ceph.in: Notify user that 'tell' can't be used in interactive mode Signed-off-by: David Zafman --- diff --git a/src/ceph.in b/src/ceph.in index 487ff8486c8d..098bca19c524 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -420,6 +420,10 @@ def new_style_command(parsed_args, cmdargs, target, sigdict, inbuf, verbose): print >> sys.stderr, \ 'error handling command target: {0}'.format(e) continue + if len(cmdargs) and cmdargs[0] == 'tell': + print >> sys.stderr, \ + 'Can not use \'tell\' in interactive mode.' + continue valid_dict = validate_command(sigdict, cmdargs, verbose) if valid_dict: if parsed_args.output_format: