|
|
|
|
|
by reinhardt
5429 days ago
|
|
What about the disadvantages? - It doubles the number of flags of the program. - It allows invalid or ambiguous combinations: is `myloc -i -x` valid? If yes which flag takes precedence? It seems these must outweigh the benefits or it wouldn't be so uncommon. |
|
Last flag wins is a common choice because it allows some script to contain yourcommand --include $@ and then you can override with --no-include.