1
0
mirror of https://github.com/moshix/mvs.git synced 2026-01-11 23:43:00 +00:00

better help with -h

This commit is contained in:
moshix 2023-04-17 05:34:01 -05:00 committed by GitHub
parent 0647db12c1
commit 86031f1f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,8 +53,12 @@ if [[ "$1" != "-n" ]]; then
set_color # user didnt' specify no color
fi
if [[ "$1" != "-e" ]]; then
echo "Use the -e 1.5 switch to get your external IP with timeout 1.5 secs" # we don't have color yet, to make things faster
if [[ "$1" == "-h" ]]; then
echo "-e 1.5 to get your external IP with timeout of 1.5 secs"
echo "-n to suppress color "
echo "-v to show the version"
echo "-h to show this help"
exit 0
fi
os_type # find out which OS