00JCIV00 / cova

Commands, Options, Values, Arguments. A simple yet robust cross-platform command line argument parsing library for Zig.
https://00jciv00.github.io/cova/
MIT License
110 stars 5 forks source link

Add Option Parsing Termination #23

Closed 00JCIV00 closed 1 year ago

00JCIV00 commented 1 year ago

Per the POSIX standard, Options (and Commands?) should no longer be parsed after -- is given by itself. Instead, all arguments after that should be treated as Values.

The termination symbol should be configurable via cova.ParseConfig, but default to the symbol used for long name Options.