From a341d977d42a3010267b64e15cebae3085507297 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Tue, 20 Oct 2015 18:10:39 -0700 Subject: [PATCH] ceph.in: Notify user that 'tell' can't be used in interactive mode Signed-off-by: David Zafman --- src/ceph.in | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.47.3