diff --git a/bin/project-manager b/bin/project-manager index 45ee5d1..7ac00a1 100755 --- a/bin/project-manager +++ b/bin/project-manager @@ -107,10 +107,10 @@ then source "$file" --help exit fi - elif [ "$command" != "" ] && [ "$plugin" != "" ] && [ "$list_commands" == true ] - then - list "plugins/$plugin/commands" elif [ "$command" != "" ] && [ "$list_commands" == true ] + then + list "plugins/$command/commands" + elif [ "$list_commands" == true ] then list "bin/commands" elif [ "$list_plugins" == true ]