From b5e29ecd2936cd26065e1e0a019c5a0ca4b0d56f Mon Sep 17 00:00:00 2001 From: houweichao Date: Tue, 17 Jan 2017 15:02:16 +0800 Subject: [PATCH] Modified the help info. When get or set the state of alarm, the help infomation is shown as "Delete the alarm" which is wrong. This commit modified the help infomation. Change-Id: I148e1a2b0fe44cc136a81cac1ac3a425449bfa61 --- aodhclient/v2/alarm_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aodhclient/v2/alarm_cli.py b/aodhclient/v2/alarm_cli.py index f72f00a..b219408 100644 --- a/aodhclient/v2/alarm_cli.py +++ b/aodhclient/v2/alarm_cli.py @@ -495,7 +495,7 @@ class CliAlarmDelete(command.Command): class CliAlarmStateGet(show.ShowOne): - """Delete an alarm""" + """Get state of an alarm""" def get_parser(self, prog_name): return _add_name_to_parser( @@ -524,7 +524,7 @@ class CliAlarmStateGet(show.ShowOne): class CliAlarmStateSet(show.ShowOne): - """Delete an alarm""" + """Set state of an alarm""" def get_parser(self, prog_name): parser = _add_name_to_parser(