File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
dist/tools/zsh-completion Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11OPENOCD_SCRIPTS_PATH=${OPENOCD_SCRIPTS_PATH:-/ usr/ share/ openocd/ scripts/ }
2+ DOCKER=${DOCKER:- docker}
23
34function _boards {
45 local -a _boards_available
@@ -85,6 +86,11 @@ function _ftdi_adapter {
8586 _describe ' ftdi_adapter' _adapter_vals
8687}
8788
89+ function _docker_image {
90+ local -a _docker_image_vals=($( " $DOCKER " image ls --format ' {{.Repository}}' ) )
91+ _describe ' docker_image' _docker_image_vals
92+ }
93+
8894function _riot {
8995 local -a _std_targets=(
9096 " all:build the application"
@@ -130,6 +136,7 @@ function _riot {
130136 ' BOARD[Select the board to build for]:board:_boards'
131137 ' TOOLCHAIN[Select the toolchain to use]:toolcahin:_toolchains'
132138 ' BUILD_IN_DOCKER[Build inside docker container]:bool:_bools'
139+ ' DOCKER_IMAGE[The docker image to use with BUILD_IN_DOCKER=1]:docker_image:_docker_image'
133140 ' LTO[Enable link time optimization]:bool:_bools'
134141 ' VERBOSE_ASSERT[Print source file and line on blown assertion]:bool:_bools'
135142 ' QUIET[Reduce verbosity of build output]:bool:_bools'
You can’t perform that action at this time.
0 commit comments