mirror of
https://github.com/byReqz/conn.git
synced 2024-11-22 09:01:15 +00:00
updated help
This commit is contained in:
parent
f3e434f0a3
commit
514450d3af
4
conn.sh
4
conn.sh
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
while [ ! -n "$1" ]; do
|
||||
echo "Usage: $0 (-m) <ip>"
|
||||
echo "Usage: $0 (options) <ip>"
|
||||
echo "Options:"
|
||||
echo " -m/--multi -- test multiple ips / disable portscan"
|
||||
echo " -h/--help -- show help"
|
||||
@ -13,7 +13,7 @@ while [ ! -n "$1" ]; do
|
||||
done
|
||||
while [ ! -z "$1" ]; do
|
||||
if [[ "$1" == "--help" ]] || [[ "$1" == "-h" ]];then
|
||||
echo "Usage: $0 (-m) <ip> (y/n)"
|
||||
echo "Usage: $0 (options) <ip> (y/n)"
|
||||
echo "Options:"
|
||||
echo " -m/--multi -- test multiple ips / disable portscan"
|
||||
echo " -h/--help -- show help"
|
||||
|
Loading…
Reference in New Issue
Block a user