From d37ecda69375389b67fca869d884533d5b5e5021 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 5 Mar 2015 12:42:54 -0500 Subject: [PATCH] Switch port and password short params --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index cdbb9cd..45af3b7 100644 --- a/setup.sh +++ b/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