complete verbose option

This commit is contained in:
primardj 2024-03-25 00:34:48 +00:00
parent c332e9b32b
commit e464928a1b

View file

@ -37,6 +37,10 @@ print_version() {
echo "$(basename $0) v.${version}"
}
set_verbose() {
verbose=1
}
# first, test if there is help, version, or verbose args.
for i in "$@"; do
case "$i" in
@ -54,4 +58,5 @@ for i in "$@"; do
esac
done
(( verbose )) && echo "verbose is set"