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:
parent
bf5b0201c9
commit
0647db12c1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user