From 03caddd42de6140cb0e14502252010c7f78a5639 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 13 Jun 2024 14:59:43 +0200 Subject: [PATCH] modulecmd: swap meaning of option --debug and --verbose --- Pmodules/modulecmd.bash.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index fdd2e15..b86a1c5 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -3453,12 +3453,12 @@ while (( $# > 0 )); do print_help 'version' ;; --debug ) - debug(){ - echo "DEBUG: " "$@" 1>&2 - } + set -x ;; --verbose ) - set -x + debug(){ + echo "INFO: " "$@" 1>&2 + } ;; '' ) ;;