Fix some help strings

It should be ID instead of id - like in nearly all
other help strings. Also add missing "." to end of string and
use plural for one string.

Change-Id: I14c8c622978b206e092e56741ad5cc6885b2d118
Co-Authored-By: Summer Long <slong@redhat.com>
This commit is contained in:
Andreas Jaeger
2014-02-22 20:24:11 +01:00
parent 212b0190d7
commit 523a234ad4

View File

@@ -455,7 +455,7 @@ def do_alarm_threshold_create(cc, args={}):
@common_alarm_arguments(create=True) @common_alarm_arguments(create=True)
@utils.arg('--alarm_ids', action='append', metavar='<ALARM IDS>', @utils.arg('--alarm_ids', action='append', metavar='<ALARM IDS>',
required=True, dest='combination_rule/alarm_ids', required=True, dest='combination_rule/alarm_ids',
help='List of alarm ids.') help='List of alarm IDs.')
@utils.arg('--operator', metavar='<OPERATOR>', @utils.arg('--operator', metavar='<OPERATOR>',
dest='combination_rule/operator', dest='combination_rule/operator',
help='Operator to compare with, one of: ' + str( help='Operator to compare with, one of: ' + str(
@@ -576,7 +576,7 @@ def do_alarm_threshold_update(cc, args={}):
help='Name or list of names of the time constraints to remove.') help='Name or list of names of the time constraints to remove.')
@utils.arg('--alarm_ids', action='append', metavar='<ALARM IDS>', @utils.arg('--alarm_ids', action='append', metavar='<ALARM IDS>',
dest='combination_rule/alarm_ids', dest='combination_rule/alarm_ids',
help='List of alarm id.') help='List of alarm IDs.')
@utils.arg('--operator', metavar='<OPERATOR>', @utils.arg('--operator', metavar='<OPERATOR>',
dest='combination_rule/operator', dest='combination_rule/operator',
help='Operator to compare with, one of: ' + str( help='Operator to compare with, one of: ' + str(
@@ -700,7 +700,7 @@ def do_event_list(cc, args={}):
@utils.arg('-m', '--message_id', metavar='<message_id>', @utils.arg('-m', '--message_id', metavar='<message_id>',
help='The id of the event. Should be a UUID', help='The ID of the event. Should be a UUID.',
required=True) required=True)
def do_event_show(cc, args={}): def do_event_show(cc, args={}):
'''Show a particular event.''' '''Show a particular event.'''