Added PIZZAART-option happy new year with picture new_year

This commit is contained in:
Gesina Schwalbe 2015-01-02 17:04:46 +01:00
parent 7dadcfc9f3
commit 99d270f420

View file

@ -14,6 +14,7 @@ help() {
echo " -l Send a heart" echo " -l Send a heart"
echo " -b Send happy birthday" echo " -b Send happy birthday"
echo " -c Send merry christmas" echo " -c Send merry christmas"
echo " -n Send a happy new year"
echo " -m <addr> Receivers address (non-optional)" echo " -m <addr> Receivers address (non-optional)"
echo " -s <addr> Senders address, defaults to user@host" echo " -s <addr> Senders address, defaults to user@host"
echo " -h Print this help-message" echo " -h Print this help-message"
@ -25,7 +26,7 @@ if [ ! $1 ]; then
exit 1 exit 1
fi fi
while getopts "plbchm:s:" opt; do while getopts "plbcnhm:s:" opt; do
case ${opt} in case ${opt} in
p ) p )
: ${PIZZAART:="pizza"} : ${PIZZAART:="pizza"}
@ -39,6 +40,9 @@ while getopts "plbchm:s:" opt; do
c ) c )
: ${PIZZAART:="christmastree"} : ${PIZZAART:="christmastree"}
;; ;;
n )
: ${PIZZAART:="new_year"}
;;
m ) m )
PIZZARCV="${OPTARG}" PIZZARCV="${OPTARG}"
;; ;;