Skip to content

Commit

Permalink
wrap set-source -> set-sources
Browse files Browse the repository at this point in the history
  • Loading branch information
klokik committed Dec 16, 2024
1 parent b55dadd commit 5f70ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/shell-completions/bash/meson
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ _meson-wrap() {
list
promote
search
set-source
set-sources
status
update
update-db
Expand Down Expand Up @@ -866,7 +866,7 @@ _meson-wrap-search() {
COMPREPLY+=($(compgen -W '${wraps[*]}' -- "$cur"))
}

_meson-wrap-set-source() {
_meson-wrap-set-sources() {
shortopts=(
h
)
Expand Down
4 changes: 2 additions & 2 deletions data/shell-completions/zsh/_meson
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5f70ad3

Please sign in to comment.