▲ | echoangle 8 hours ago | ||||||||||||||||||||||
> It didn't account for the presence of a '--' to end the parsing of named arguments but that's it That’s just something getopt does and some programs adopted. If you asked me to write a parser, I wouldn’t necessarily include that either if you didn’t ask for it. | |||||||||||||||||||||||
▲ | sebstefan 7 hours ago | parent [-] | ||||||||||||||||||||||
If you don't include it you can't have positional arguments that look like options Some positional arguments can be filenames, filenames can be --help and --verbose or --name=Frank You have to have `--` or something similar to have a correct program | |||||||||||||||||||||||
|