Fix help message of event list option 'filter'
The original description of the message is not working: <KEY1=VALUE1;KEY2=VALUE2...> The feasible way to apply multiple filters are applying the 'filter' option multipke times. Change-Id: I58fc61f06a3c16f6062f643c323efaa00ef2f799
This commit is contained in:
parent
815a8c9451
commit
a38ef12919
|
@ -36,11 +36,11 @@ class EventList(command.Lister):
|
|||
def get_parser(self, prog_name):
|
||||
parser = super(EventList, self).get_parser(prog_name)
|
||||
parser.add_argument('--filter', dest='filter',
|
||||
metavar='<KEY1=VALUE1;KEY2=VALUE2...>',
|
||||
metavar='<KEY>=<VALUE>',
|
||||
type=self.split_filter_param,
|
||||
action='append',
|
||||
help='Filter parameters to apply on'
|
||||
' returned events.')
|
||||
help='Filter parameters to apply on returned '
|
||||
'events. (can be applied multiple times)')
|
||||
parser.add_argument("--limit", type=int, metavar="<LIMIT>",
|
||||
help="Number of events to return "
|
||||
"(Default is server default)")
|
||||
|
|
Loading…
Reference in New Issue