That's exactly what I'm trying to avoid. I need to end the script rather than overwriting by the last appearance of the param. | [reply] |
That goes against the general philosophy of running stuff from a shell command line and allowing users to customize their defaults. Users are free to set up aliases with their most commonly used flags and allowing duplicate flags / taking that last flag allows them to still access all the command line options. Flags for default options exist for this reason.
| [reply] |