Add metavar for alarm_id in alarm-history show
To unify help messages for positional parameters in OSC. Change-Id: Ia9c02fa2ca241d31787bdacbab75d6008bb60e1f Closes-Bug: #1747731
This commit is contained in:
@@ -46,7 +46,8 @@ class CliAlarmHistoryShow(lister.Lister):
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(CliAlarmHistoryShow, self).get_parser(prog_name)
|
||||
parser.add_argument("alarm_id", help="ID of an alarm")
|
||||
parser.add_argument("alarm_id", metavar="<alarm-id>",
|
||||
help="ID of an alarm")
|
||||
parser.add_argument("--limit", type=int, metavar="<LIMIT>",
|
||||
help="Number of resources to return "
|
||||
"(Default is server default)")
|
||||
|
||||
Reference in New Issue
Block a user