Skip to content

Commit

Permalink
make_spack handle verbose flag correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Aug 19, 2024
1 parent d17865a commit dc20c24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/make_spack
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ parse_args() {
verbose=false

origargs="$*"
if x=$(getopt --longoptions help,depth,with_padding,upgrade,spack_release:,minimal,no_buildcache,repover,spack_repo:,query-packages --options mptuv -- "$@")
if x=$(getopt --longoptions help,depth,with_padding,upgrade,spack_release:,minimal,no_buildcache,repover,spack_repo:,query-packages,verbose --options mptuv -- "$@")
then
eval set : $x
shift
Expand All @@ -270,8 +270,7 @@ parse_args() {
x-t) layout=traditional; shift;;
x-p) layout=plain; shift;;
x-m) minimal=true; shift;;
x-v) verbose=true; shift;;
x--verbose) verbose=true; shift;;
x-v|x--verbose) verbose=true; shift;;
x--) shift; break;;
esac
done
Expand Down

0 comments on commit dc20c24

Please sign in to comment.