From 942defa68b5d230b3ccfba1fa55b15e7dd7c7ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Sun, 11 Jan 2015 13:11:21 +0100 Subject: [PATCH] Added Version-Info to help function. This is draft 1 for Issue #2 --- src/pizza | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pizza b/src/pizza index 85a48b8..9fadfdb 100755 --- a/src/pizza +++ b/src/pizza @@ -6,9 +6,11 @@ PIZZAUSER=$(whoami) PIZZAART= PIZZARCV= PIZZASEND= +PIZZAVERSION="v1.0.0" help() { echo "pizza - sent small ASCII-Icons by Mail" + echo "this is pizza ${PIZZAVERSION}" echo "--------------------------------------" echo "Usage: -p Send a pizza (default)" echo " -l Send a heart" @@ -70,4 +72,4 @@ if [ ! $PIZZARCV ]; then fi mail -s "${PIZZAUSER} sent you a ${PIZZAART} on ${PIZZAHOST}!" -S from=${PIZZASEND} ${PIZZARCV} < "${PIZZAINC}/${PIZZAART}" -exit 0 \ No newline at end of file +exit 0