diff --git a/data/shell-completions/bash/meson b/data/shell-completions/bash/meson index 3e0989913dd9..7ad304bd5b22 100644 --- a/data/shell-completions/bash/meson +++ b/data/shell-completions/bash/meson @@ -715,7 +715,7 @@ _meson-wrap() { list promote search - set-source + set-sources status update update-db @@ -866,7 +866,7 @@ _meson-wrap-search() { COMPREPLY+=($(compgen -W '${wraps[*]}' -- "$cur")) } -_meson-wrap-set-source() { +_meson-wrap-set-sources() { shortopts=( h ) diff --git a/data/shell-completions/zsh/_meson b/data/shell-completions/zsh/_meson index 487486afacf7..14831f3b8175 100644 --- a/data/shell-completions/zsh/_meson +++ b/data/shell-completions/zsh/_meson @@ -271,7 +271,7 @@ _arguments \ 'update:Update a project to its newest available version' 'info:Show info about a wrap' 'status:Show the status of your subprojects' - 'set-source:Set WrapDB source URL' + 'set-sources:Set WrapDB source URLs' ) if (( CURRENT == 2 )); then @@ -298,7 +298,7 @@ _arguments \ # TODO: how do you figure out what wraps are provided by subprojects if # they haven't been fetched yet? _arguments '*:' - elif [[ $cmd == "set-source" ]]; then + elif [[ $cmd == "set-sources" ]]; then _arguments '*:' fi else