Use and silent first debug

This commit is contained in:
2023-01-11 12:23:45 -05:00
parent 5c4795ce42
commit e0619ba8a3

View File

@@ -1646,6 +1646,7 @@ tests() {
main() {
debug "Running: ${FUNCNAME[0]} $*"
init
@@ -1773,7 +1774,7 @@ main() {
# done
}
# Quickly turn debugging on (catch for real with getopt in parseInput())
[[ " $* " =~ ( --debug | -d ) ]] && echo "First Debugging on!" && DEBUG=1
# Quickly turn debugging on, also use getopt in parseInput()
[[ " $* " =~ ( --debug | -d ) ]] && DEBUG=1
main "$@"