mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-01 11:49:38 +02:00
modulecmd: print help if modulecmd is called without args
This commit is contained in:
@@ -3507,6 +3507,7 @@ subcommand_initclear() {
|
||||
# parse arguments
|
||||
#
|
||||
|
||||
(( $# > 0 )) || print_help 'help'
|
||||
# first argument must be a shell!
|
||||
case "$1" in
|
||||
sh | bash | zsh )
|
||||
|
||||
Reference in New Issue
Block a user