swift-argument-parser
swift-argument-parser copied to clipboard
Remaining arguments and plurality
I'd like to be able to optionally control the USAGE for .remaining
parsing to provide appropriate plurality. The screenshot below suggests that the user enters multiple location hints. They do not. With the .remaining
parsing, the arguments become a single location hint.
What I see:
USAGE: now [--time <time>] [<location-hint> ...]
What I want (ideas):
USAGE: now [--time <time>] [<location-hint...>]
USAGE: now [--time <time>] <...location-hint...>
Thanks for the request, @erica! There's design work to do around customizing the help screen — it's really useful to see your use case.