From 9dba82def3dd74d6a3fecbc9e7e9a180e2acd0c2 Mon Sep 17 00:00:00 2001 From: Sven Ullmann Date: Tue, 7 Mar 2023 03:07:22 +0100 Subject: [PATCH] fix --list-commands --- bin/project-manager | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ]