From de1377c67242d84ebb6c3e7c3bd15ed34be850b0 Mon Sep 17 00:00:00 2001 From: Gesina Schwalbe Date: Fri, 13 Feb 2015 22:06:55 +0100 Subject: [PATCH] added valentine-art in script --- src/pizza | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pizza b/src/pizza index fed456f..a7f735e 100755 --- a/src/pizza +++ b/src/pizza @@ -18,6 +18,7 @@ help() { echo " -b Send happy birthday" echo " -c Send merry christmas" echo " -n Send a happy new year" + echo " -v Send a happy valentine's day" echo " -m Receivers address (non-optional)" echo " -s Senders address, defaults to user@host" echo " -h Print this help-message" @@ -29,7 +30,7 @@ if [ ! $1 ]; then exit 1 fi -while getopts "plbcnhm:s:" opt; do +while getopts "plbcnhmv:s:" opt; do case ${opt} in p ) : ${PIZZAART:="pizza"} @@ -46,6 +47,9 @@ while getopts "plbcnhm:s:" opt; do n ) : ${PIZZAART:="new_year"} ;; + v ) + : ${PIZZAART:="valentine"} + ;; m ) PIZZARCV="${OPTARG}" ;;