Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
-#
+#&
# Processed in Makefile to add python #! line and version variable
#
#
if '--' in childargs:
childargs.remove('--')
+ # special deprecation warning for 'ceph <type> tell'
+ # someday 'mds' will be here too
+ if len(childargs) >= 2 and \
+ childargs[0] in ['mon', 'osd'] and \
+ childargs[1] == 'tell':
+ print >> sys.stderr, '"{0} tell" is deprecated; try "tell {0}.<id>" instead (id can be "*") '.format(childargs[0])
+ return 1
+
try:
cluster_handle.connect()
except KeyboardInterrupt: