From c1d8f8295ecc8ef0cf72d0cd4d5f98aaca860d4c Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 25 Dec 2022 21:15:09 +0100 Subject: [PATCH] Edit usage message in deploy.sh --- deploy.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/deploy.sh b/deploy.sh index 20c22d1..82bdca6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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"