From eb6127e4e5306f145f0c2c528abb2a21b906eb45 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 14 Apr 2025 17:16:44 +0200 Subject: [PATCH] dist/tools/zsh-completion: add awareness for STATIC_ANALYSIS This adds `STATIC_ANALYSIS` awareness to the ZSH completion, so that enabling static analysis is made easier for zsh users who use the completion snippet. --- dist/tools/zsh-completion/zsh-riot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/tools/zsh-completion/zsh-riot.sh b/dist/tools/zsh-completion/zsh-riot.sh index 854da51963..f940327a24 100644 --- a/dist/tools/zsh-completion/zsh-riot.sh +++ b/dist/tools/zsh-completion/zsh-riot.sh @@ -95,7 +95,7 @@ function _riot { "info-buildsize:print the size of the firmware for the given board" "info-buildsizes-diff:compare the size of two firmware builds for two given directories" "info-cpu:print the CPU family for the given board" - "info-features-missing:list features missing by the given baord in regard to the given app" + "info-features-missing:list features missing by the given board in regard to the given app" "info-features-provided:list features provided by the given board" "info-features-required:list features required by the given app" "info-features-used:list features of the given board used by the given app" @@ -131,6 +131,7 @@ function _riot { 'PROGRAMMER[Select the programmer software to flash (debug) with]:programmer:_programmers' 'OPENOCD_DEBUG_ADAPTER[Select the programmer hardware to use with OpenOCD]:hw_programmer:_hw_programmers' 'OPENOCD_RESET_USE_CONNECT_ASSERT_SRST[Let OpenOCD attach while reset signal is asserted]:bool:_bools' + 'STATIC_ANALYSIS[Enable static analysis for modules that claim support]:bool:_bools' ) _values -w 'variables' $vars