Merge branch '2_version_info_1'.

Closes #2
This commit is contained in:
Oliver Rümpelein 2015-01-15 11:13:16 +01:00
commit e644f3aaec

View file

@ -6,9 +6,11 @@ PIZZAUSER=$(whoami)
PIZZAART= PIZZAART=
PIZZARCV= PIZZARCV=
PIZZASEND= PIZZASEND=
PIZZAVERSION="v1.0.0"
help() { help() {
echo "pizza - sent small ASCII-Icons by Mail" echo "pizza - sent small ASCII-Icons by Mail"
echo "this is pizza ${PIZZAVERSION}"
echo "--------------------------------------" echo "--------------------------------------"
echo "Usage: -p Send a pizza (default)" echo "Usage: -p Send a pizza (default)"
echo " -l Send a heart" echo " -l Send a heart"
@ -70,4 +72,4 @@ if [ ! $PIZZARCV ]; then
fi fi
mail -s "${PIZZAUSER} sent you a ${PIZZAART} on ${PIZZAHOST}!" -S from=${PIZZASEND} ${PIZZARCV} < "${PIZZAINC}/${PIZZAART}" mail -s "${PIZZAUSER} sent you a ${PIZZAART} on ${PIZZAHOST}!" -S from=${PIZZASEND} ${PIZZARCV} < "${PIZZAINC}/${PIZZAART}"
exit 0 exit 0