You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-24 00:31:09 +02:00
Merge pull request #516 from dongweiming/fix-496
Fix the handling of zero REQUEST_ITEM arguments Close #496
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user