1
0
mirror of https://github.com/byReqz/conn.git synced 2024-11-01 01:03:14 +00:00

updated help

This commit is contained in:
Nils 2021-01-16 01:43:55 +00:00 committed by GitHub
parent f3e434f0a3
commit 514450d3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
while [ ! -n "$1" ]; do while [ ! -n "$1" ]; do
echo "Usage: $0 (-m) <ip>" echo "Usage: $0 (options) <ip>"
echo "Options:" echo "Options:"
echo " -m/--multi -- test multiple ips / disable portscan" echo " -m/--multi -- test multiple ips / disable portscan"
echo " -h/--help -- show help" echo " -h/--help -- show help"
@ -13,7 +13,7 @@ while [ ! -n "$1" ]; do
done done
while [ ! -z "$1" ]; do while [ ! -z "$1" ]; do
if [[ "$1" == "--help" ]] || [[ "$1" == "-h" ]];then if [[ "$1" == "--help" ]] || [[ "$1" == "-h" ]];then
echo "Usage: $0 (-m) <ip> (y/n)" echo "Usage: $0 (options) <ip> (y/n)"
echo "Options:" echo "Options:"
echo " -m/--multi -- test multiple ips / disable portscan" echo " -m/--multi -- test multiple ips / disable portscan"
echo " -h/--help -- show help" echo " -h/--help -- show help"