Fix labels to take multiple values

Closes-Bug: #1798362
Change-Id: I635e7d53f8aea63c05a2e5565f2a2ab40dcd38f8
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2018-10-17 14:03:52 +02:00 committed by Alex Schultz
parent d3c83259bf
commit b28914702a
2 changed files with 8 additions and 2 deletions

View File

@ -38,8 +38,9 @@ class Apply(command.Command):
metavar='<label=value>',
dest='labels',
default=[],
action='append',
help=('Extra labels to apply to containers in this config, in the '
'form label=value.'),
'form --label label=value --label label2=value2.'),
)
parser.add_argument(
'--managed-by',
@ -179,8 +180,9 @@ class Debug(command.Command):
metavar='<label=value>',
dest='labels',
default=[],
action='append',
help=('Extra labels to apply to containers in this config, in the '
'form label=value.')
'form --label label=value --label label2=value2.'),
)
parser.add_argument(
'--managed-by',

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fixed ``--labels`` can takes multiple values.