swift-argument-parser icon indicating copy to clipboard operation
swift-argument-parser copied to clipboard

Document `--` to support all remaining command line args as Arguments

Open thomasvl opened this issue 5 years ago • 4 comments

Looks like some of the tests already confirm it, but the documentation doesn't seem to call out that the library does support the standard of taking an -- argument to then map all following command line args to be Arguments (and never recognize them as Flags/Options).

thomasvl avatar Mar 02 '20 16:03 thomasvl

We really should cover all the different kinds of syntax that are allowed, such as grouped short options and --option=value style options. May be good to say what isn't currently supported as well, like -j5 style short options.

natecook1000 avatar Mar 02 '20 18:03 natecook1000

When I filed this, I was thinking the Markdown docs on the site; but thinking about it again, the generated help might also need to include some more details about things like this too.

thomasvl avatar Mar 02 '20 18:03 thomasvl

@thomasvl claim

Rish-it avatar Jan 24 '23 18:01 Rish-it

Can I work on this issue @natecook1000

EngOmarElsayed avatar Mar 19 '24 12:03 EngOmarElsayed