modulecmd: print help if modulecmd is called without args

This commit is contained in:
2024-08-12 16:35:42 +02:00
parent c3c5a8f7d6
commit 93e0f6b1e7
+1
View File
@@ -3507,6 +3507,7 @@ subcommand_initclear() {
# parse arguments
#
(( $# > 0 )) || print_help 'help'
# first argument must be a shell!
case "$1" in
sh | bash | zsh )