Skip to content
Snippets Groups Projects
Commit b9cd22b8 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

vcsh: Print debug and verbose info

parent 9b92f3d0
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,11 @@ while getopts "c:dv" flag; do ...@@ -38,9 +38,11 @@ while getopts "c:dv" flag; do
if [ "$1" = '-d' ] || [ "$1" = '--debug' ]; then if [ "$1" = '-d' ] || [ "$1" = '--debug' ]; then
set -vx set -vx
VCSH_DEBUG=1 VCSH_DEBUG=1
echo "debug mode on"
echo "$SELF $VERSION" echo "$SELF $VERSION"
elif [ "$1" = '-v' ];then elif [ "$1" = '-v' ];then
VCSH_VERBOSE=1 VCSH_VERBOSE=1
echo "verbose mode on"
echo "$SELF $VERSION" echo "$SELF $VERSION"
elif [ "$1" = '-c' ];then elif [ "$1" = '-c' ];then
VCSH_OPTION_CONFIG=$OPTARG VCSH_OPTION_CONFIG=$OPTARG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment