mirror of
https://github.com/byReqz/conn.git
synced 2024-11-01 01:03:14 +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
|
#!/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"
|
||||||
|
Loading…
Reference in New Issue
Block a user