From 16b39e8a03f9ccdf785982aea355131bbf26b93a Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 24 Sep 2024 10:55:56 +0000 Subject: [PATCH] scripts: west: commands: completion: add twister --log-level completion Add bash tab-completion for for the newly introduced "west twister --log-level" arguments. Signed-off-by: Henrik Brix Andersen --- scripts/west_commands/completion/west-completion.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/west_commands/completion/west-completion.bash b/scripts/west_commands/completion/west-completion.bash index d6e1f13290a..0f3e0a69539 100644 --- a/scripts/west_commands/completion/west-completion.bash +++ b/scripts/west_commands/completion/west-completion.bash @@ -1064,6 +1064,7 @@ __comp_west_twister() --coverage-tool --exclude-platform -P --filter + --log-level --platform -p --runtime-artifact-cleanup -M " @@ -1114,6 +1115,11 @@ __comp_west_twister() return ;; + --log-level) + __set_comp "CRITICAL DEBUG ERROR INFO NOTSET WARNING" + return + ;; + --runtime-artifact-cleanup|-M) __set_comp "all pass" return