From: Richard Hartmann Date: Mon, 5 Aug 2013 15:01:16 +0000 (+0200) Subject: vcsh: Print debug and verbose info X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/b9cd22b813c1e45ddf154df85c83aeeed44dd076?ds=sidebyside;hp=--cc vcsh: Print debug and verbose info --- b9cd22b813c1e45ddf154df85c83aeeed44dd076 diff --git a/vcsh b/vcsh index 943335a..b962c2a 100755 --- a/vcsh +++ b/vcsh @@ -38,9 +38,11 @@ while getopts "c:dv" flag; do if [ "$1" = '-d' ] || [ "$1" = '--debug' ]; then set -vx VCSH_DEBUG=1 + echo "debug mode on" echo "$SELF $VERSION" elif [ "$1" = '-v' ];then VCSH_VERBOSE=1 + echo "verbose mode on" echo "$SELF $VERSION" elif [ "$1" = '-c' ];then VCSH_OPTION_CONFIG=$OPTARG