News for hackers. Stuff that matters.
Re:Conventions for Command Line Options by tom_ on Saturday August 01, 2020 @08:24PM (#24025187)
This is usually handled by adding support for that sort of syntax to the parsing library. The result is typically not complicated: you have a parser for the global options, then, if using subcommands, in effect a map of subcommand name to parser for options for that command.

There are no comments on this comment yet.