mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-13 01:24:00 +01:00
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:
commit
3f7e34c579
1 file changed
+1
@@ -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