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
This commit is contained in:
houweichao 2017-01-17 15:02:16 +08:00
parent 98135d6b74
commit b5e29ecd29
1 changed files with 2 additions and 2 deletions

View File

@ -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(