From: Pat Riehecky <riehecky at fnal.gov> --- return_disttag.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/return_disttag.sh b/return_disttag.sh index d0ae030..5f9d9d9 100755 --- a/return_disttag.sh +++ b/return_disttag.sh @@ -7,7 +7,7 @@ ##################################################################### usage() { echo '' >&2 - echo "$0 [-hr]" >&2 + echo "$0 [-hrq]" >&2 echo '' >&2 echo ' -h: This help message' >&2 echo ' -r: Use the Redhat tag rather than centos tag' >&2 @@ -22,6 +22,7 @@ usage() { ##################################################################### # setup args in the right order for making getopt evaluation # nice and easy. You'll need to read the manpages for more info +# or review getopt-parse.bash under /usr/share/doc from which much was borrowed args=$(getopt -o hrq -- "$@") if [[ $? -ne 0 ]]; then usage -- 1.7.1