- local options=
-
- local SHORTOPTS='p,c,a,v'
- local LONGOPTS='target:,debug,clean,print-env,configure,autoreconf'
-
- if ! options=$(getopt --shell bash --longoptions $LONGOPTS --options $SHORTOPTS -n 'bootstrap' -- "$@"); then
- die 'Bad option given'
- fi