minor changes

main
Antonio De Lucreziis 2 years ago
parent de8162191f
commit 1fac23e09a

@ -2,15 +2,17 @@
# Display help message
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
echo "Usage: $(basename $0) <input_string>"
echo "usage: $(basename $0) <input_string>"
echo "Outputs a randomly generated IP address and port number based on the MD5 hash of the input string."
echo ""
exit 0
fi
# Check that input string is provided
if [ -z "$1" ]; then
echo "Error: input string not provided."
echo "Usage: $(basename $0) <input_string>"
echo "error: input string not provided."
echo "usage: $(basename $0) <input_string>"
echo ""
exit 1
fi

Loading…
Cancel
Save