2 ms·
That’s always true even before you talk about option combining. python scr.py -a -v Interpreting this command correctly requires you to know that python p
by Spivak 6y ago
That’s always true even before you talk about option combining.
python scr.py -a -v
Interpreting this command correctly requires you to know that python passes everything after the first positional argument to the script.
ansible play.yml -v
Where ansible itself consumes the -v argument.
It gets even worse with subcommands.
sudo -k command -a subcommand -v
Options parsing is nice because the arity of options is always 0 or 1.