Merge branch '312-modulecmd-print-help-if-modulecmd-is-called-without-arg' into 'master'

Resolve "modulecmd: print help if modulecmd is called without arg"

Closes #312

See merge request Pmodules/src!291
This commit is contained in:
2024-08-12 16:36:33 +02:00
+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 )