From 47ef2a95b89f83576b38d4853744c461f6dfe4ef Mon Sep 17 00:00:00 2001 From: fujioka yuuichi Date: Mon, 10 Feb 2014 10:54:34 +0900 Subject: [PATCH] fix help message of deprecated command Adds command name instead of deprecated command to help message. Change-Id: Ib6cbbcd24bbf015cf3656be9cbdf7de25d4d9cf7 --- ceilometerclient/v2/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometerclient/v2/shell.py b/ceilometerclient/v2/shell.py index 72a0dc9..51124fe 100644 --- a/ceilometerclient/v2/shell.py +++ b/ceilometerclient/v2/shell.py @@ -317,7 +317,7 @@ def common_alarm_arguments(create=False): help=('True if actions should be repeatedly notified ' 'while alarm remains in target state')) def do_alarm_create(cc, args={}): - '''Create a new alarm (Deprecated).''' + '''Create a new alarm (Deprecated). Use alarm-threshold-create instead.''' fields = dict(filter(lambda x: not (x[1] is None), vars(args).items())) fields = utils.args_array_to_dict(fields, "matching_metadata") alarm = cc.alarms.create(**fields)