Edit usage message in deploy.sh

This commit is contained in:
Sam A. 2022-12-25 21:15:09 +01:00
parent 57abbccb04
commit c1d8f8295e
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,10 +1,11 @@
#!/bin/sh
usage () {
echo "Usage: $0"
echo "Usage: $0 os"
echo "Usage: $0 services [SINGLE_SERVICE]"
echo "Usage: $0 reboot [-f|--force]"
printf '%s\n' "Usage:"
printf '\t%s\n' "$0"
printf '\t%s\n' "$0 os"
printf '\t%s\n' "$0 services [SINGLE_SERVICE]"
printf '\t%s\n' "$0 reboot [-f|--force]"
}
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"