scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 9ddf852ae7999754f2b435d3c5428e1ab6f57a30
parent fda86c5c609da9d258561d6406e477c0d1fde16e
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Mon Oct 14 16:37:54 +0200

usage() function

Diffstat:
chat | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/chat b/chat @@ -9,6 +9,12 @@ SERV='irc.freenode.net' PORT='6667' CHAN='z3bra' +usage() { + cat << EOF + usage: chat [-h] [-s server] [-c channel] [-n nickname] +EOF +} + [[ -n "$1" ]] && CHAN=$1 [[ -n "$2" ]] && NICK=$2