From 4eba1bb195da90620a514c8a511d05c0b8daa3ef Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 30 Oct 2019 00:16:36 -0600 Subject: [PATCH] add usage example --- commands/db/db-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/db/db-setup.sh b/commands/db/db-setup.sh index 5e07561..0837f3f 100644 --- a/commands/db/db-setup.sh +++ b/commands/db/db-setup.sh @@ -1,3 +1,7 @@ + +# Example Usage +# ssh user@host "sudo -n bash -s" -- < ./commands/db-setup.sh 'rootPass' "maindb" "maindbPass" + if [ "$1" == "-h" ]; then echo "Usage:" echo " ./db-setup.sh "