3 ms·
I like that sub-commands usually have a different --help output git --help git add --help The former returns general information about the whole git executab
by gbalduzzi 3y ago
I like that sub-commands usually have a different --help output
git --help
git add --help
The former returns general information about the whole git executable, while the latter returns specific details about the add command.
It also gives an immediate intuition of entering a whole different flow that can not be composed with other flows, something that you don't have with --args
There is a hierarchy between commands and options that is not expressed when both use the -- syntax