Skip to content

Commit

Permalink
scripts: west: commands: completion: add twister --log-level completion
Browse files Browse the repository at this point in the history
Add bash tab-completion for for the newly introduced "west twister
--log-level" arguments.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
  • Loading branch information
henrikbrixandersen authored and mmahadevan108 committed Sep 24, 2024
1 parent a91be9d commit 16b39e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/west_commands/completion/west-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@ __comp_west_twister()
--coverage-tool
--exclude-platform -P
--filter
--log-level
--platform -p
--runtime-artifact-cleanup -M
"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 16b39e8

Please sign in to comment.