I have a bash script as below in a file nepleaks_upd.sh
, that I want to run as ./nepleaks_upd.sh bootstrap --branch off
. Couldn’t make it to take --branch
, but what it works with is ./nepleaks_upd.sh bootstrap -b off
.
I’m looking for way to process shell script arguments that is cleaner and more “self documenting” than getopt/getopts.