▲ | sebstefan 10 hours ago | |||||||||||||
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 | ||||||||||||||
▲ | echoangle 9 hours ago | parent [-] | |||||||||||||
> You have to have `--` or something similar to have a correct program No, only if the positional arguments need to support arbitrary strings. If you have something like a package manager and the first positional argument is the subcommand and everything after is an alphanumeric package name, you don’t need to support the double dash. | ||||||||||||||
|