Switch port and password short params
This commit is contained in:
parent
0dc004142d
commit
d37ecda693
8
setup.sh
8
setup.sh
|
@ -20,9 +20,9 @@ show_help() {
|
|||
-n, --name # Name for git
|
||||
-e, --email # Email for git
|
||||
-s, --server # Server for irssi
|
||||
-P, --port # Port for irssi
|
||||
-p, --port # Port for irssi
|
||||
-N, --nick # Nick for irssi
|
||||
-p, --password # Password for irssi
|
||||
-P, --password # Password for irssi
|
||||
HELP
|
||||
}
|
||||
|
||||
|
@ -37,11 +37,11 @@ NARGS=-1; while [ "$#" -ne "$NARGS" ]; do NARGS=$#; case $1 in
|
|||
shift && EMAIL="$1" && shift; ;;
|
||||
-s|--server) # server for irssi
|
||||
shift && IRCSERVER="$1" && shift; ;;
|
||||
-P|--port) # port for irssi
|
||||
-p|--port) # port for irssi
|
||||
shift && IRCPORT="$1" && shift; ;;
|
||||
-N|--nick) # nick for irssi
|
||||
shift && IRCNICK="$1" && shift; ;;
|
||||
-p|--password) # password for irssi
|
||||
-P|--password) # password for irssi
|
||||
shift && IRCPASS="$1" && shift; ;;
|
||||
esac; done
|
||||
|
||||
|
|
Loading…
Reference in New Issue