added valentine-art in script
This commit is contained in:
parent
fce856d7da
commit
de1377c672
1 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,7 @@ help() {
|
||||||
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 " -n Send a happy new year"
|
||||||
|
echo " -v Send a happy valentine's day"
|
||||||
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"
|
||||||
|
@ -29,7 +30,7 @@ if [ ! $1 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while getopts "plbcnhm:s:" opt; do
|
while getopts "plbcnhmv:s:" opt; do
|
||||||
case ${opt} in
|
case ${opt} in
|
||||||
p )
|
p )
|
||||||
: ${PIZZAART:="pizza"}
|
: ${PIZZAART:="pizza"}
|
||||||
|
@ -46,6 +47,9 @@ while getopts "plbcnhm:s:" opt; do
|
||||||
n )
|
n )
|
||||||
: ${PIZZAART:="new_year"}
|
: ${PIZZAART:="new_year"}
|
||||||
;;
|
;;
|
||||||
|
v )
|
||||||
|
: ${PIZZAART:="valentine"}
|
||||||
|
;;
|
||||||
m )
|
m )
|
||||||
PIZZARCV="${OPTARG}"
|
PIZZARCV="${OPTARG}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue