Merge pull request #516 from dongweiming/fix-496

Fix the handling of zero REQUEST_ITEM arguments 

Close  #496
This commit is contained in:
Jakub Roztočil 2016-09-06 11:06:45 +01:00 committed by GitHub
commit 0d08732397

View File

@ -102,6 +102,7 @@ positional.add_argument(
'items',
metavar='REQUEST_ITEM',
nargs=ZERO_OR_MORE,
default=None,
type=KeyValueArgType(*SEP_GROUP_ALL_ITEMS),
help=r"""
Optional key-value pairs to be included in the request. The separator used