Switch port and password short params

This commit is contained in:
Chris Sexton 2015-03-05 12:42:54 -05:00
parent 0dc004142d
commit d37ecda693
1 changed files with 4 additions and 4 deletions

View File

@ -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