mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-13 01:24:00 +01:00
modulecmd: swap meaning of option --debug and --verbose
This commit is contained in:
1 parent
7ea1917031
commit
03caddd42d
1 file changed
+4
-4
@@ -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
|
||||
}
|
||||
;;
|
||||
'' )
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user