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