Skip to content

Commit

Permalink
completions: bash: add a bunch of missing completion options
Browse files Browse the repository at this point in the history
  • Loading branch information
lukester1975 authored and jpakkane committed Oct 31, 2023
1 parent b200062 commit 99fadcc
Showing 1 changed file with 51 additions and 87 deletions.
138 changes: 51 additions & 87 deletions data/shell-completions/bash/meson
Original file line number Diff line number Diff line change
Expand Up @@ -168,60 +168,66 @@ _meson_compgen_options() {
return 0
}

_meson_common_setup_configure_longopts=(
help
prefix
bindir
datadir
includedir
infodir
libdir
licensedir
libexecdir
localedir
localstatedir
mandir
sbindir
sharedstatedir
sysconfdir
auto-features
backend
genvslite
buildtype
debug
default-library
errorlogs
install-umask
layout
optimization
prefer-static
stdsplit
strip
unity
unity-size
warnlevel
werror
wrap-mode
force-fallback-for
vsenv
pkgconfig.relocatable
python.bytecompile
python.install-env
python.platlibdir
python.purelibdir
python.allow-limited-api
pkg-config-path
build.pkg-config-path
cmake-prefix-path
build.cmake-prefix-path
clearcache
)

_meson-setup() {
shortopts=(
h
D
v
)

# backend-startup-project is currently VS backend only.

longopts=(
help
prefix
bindir
datadir
includedir
infodir
libdir
libexecdir
licensedir
localedir
localstatedir
mandir
sbindir
sharedstatedir
sysconfdir
auto-features
backend
buildtype
debug
default-library
errorlogs
install-umask
layout
optimization
prefer-static
stdsplit
strip
unity
unity-size
warnlevel
werror
wrap-mode
force-fallback-for
pkgconfig.relocatable
python.install-env
python.platlibdir
python.purelibdir
pkg-config-path
build.pkg-config-path
cmake-prefix-path
build.cmake-prefix-path
${_meson_common_setup_configure_longopts[@]}
native-file
cross-file
vsenv
version
fatal-meson-warnings
reconfigure
Expand Down Expand Up @@ -266,49 +272,7 @@ _meson-configure() {
)

longopts=(
help
prefix
bindir
datadir
includedir
infodir
libdir
libexecdir
licensedir
localedir
localstatedir
mandir
sbindir
sharedstatedir
sysconfdir
auto-features
backend
buildtype
debug
default-library
errorlogs
install-umask
layout
optimization
prefer-static
stdsplit
strip
unity
unity-size
warnlevel
werror
wrap-mode
force-fallback-for
backend-startup-project
pkgconfig.relocatable
python.install-env
python.platlibdir
python.purelibdir
pkg-config-path
build.pkg-config-path
cmake-prefix-path
build.cmake-prefix-path
clearcache
${_meson_common_setup_configure_longopts[@]}
no-pager
)

Expand Down

0 comments on commit 99fadcc

Please sign in to comment.