diff --git a/templates/bec-set-account.j2 b/templates/bec-set-account.j2 index 828e28d..fd384e6 100755 --- a/templates/bec-set-account.j2 +++ b/templates/bec-set-account.j2 @@ -1,5 +1,15 @@ #!/bin/sh +if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then + echo "Usage: ./$(basename "$0") " + echo + echo "Change the active pgroup in BEC to the specified pgroup." + echo + echo "Example:" + echo " ./$(basename "$0") p12345" + exit 0 +fi + if [ $# -ne 1 ]; then echo "Provide exactly one argument: the pgroup name." exit 1