Forked from bleepbloop/Bash Scripting Argument Usage Checker
Created
August 23, 2014 03:15
-
-
Save yejiyang/fb88380e29343e9f8857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 -n [number] -m [message] -u [username] -p [password]"; | |
echo ""; | |
echo "[number] = SMS number to send message to"; | |
echo "[message] = Text of message you want to send"; | |
echo "[username] = Username assocated with aql account"; | |
echo "[password] = Password assocated with aql account"; | |
echo " Both the username and password options are optional and"; | |
echo " override the account credentials defined in this script."; | |
echo ""; | |
exit 1; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment