3 ms·
> argp parses `foo --bar -1` as `foo --bar=-1` the way you expect when `--bar` takes an value, but Kong treats `-1` as a flag. This seems a bug in Kong. Has so
by acmj 2y ago
> argp parses `foo --bar -1` as `foo --bar=-1` the way you expect when `--bar` takes an value, but Kong treats `-1` as a flag.
This seems a bug in Kong. Has someone reported it?
- networked 2y agoYes, see https://github.com/alecthomas/kong/issues/315 https://github.com/alecthomas/kong/issues/315. It may be nontrivial to change.