I know that if there is a common flag among all the sub-modes, it will be indicated in the "General flags" section, but this flag should still appear after the mode constructor. Sometimes there are flags associated with the program, and not separate modes, so they must be indicated before the mode material (or even after). For example, my program can process tasks in parallel, regardless of the mode in which it works. The number of parallel processes is specified by the "-n" flag, so the command line should have something like:
myprogram -n 4 MODE1 [flags/args-for-MODE1]
Can this be done in CmdArgs? Thanks
source share