summaryrefslogtreecommitdiff
path: root/data/shell-completions
diff options
context:
space:
mode:
authorLuke Elliott <luke.b.elliott@gmail.com>2023-09-11 07:38:01 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2023-11-01 00:06:19 +0200
commit99fadccd29c709e652f0fab5b5738fadfc4a2ebe (patch)
treef1543c9494a9ecdbefe202fb7a73f26d4bbbd20e /data/shell-completions
parentb2000620f42ee730c47fcd7b4e510928b635e724 (diff)
downloadmeson-99fadccd29c709e652f0fab5b5738fadfc4a2ebe.tar.gz
completions: bash: add a bunch of missing completion options
Diffstat (limited to 'data/shell-completions')
-rw-r--r--data/shell-completions/bash/meson138
1 files changed, 51 insertions, 87 deletions
diff --git a/data/shell-completions/bash/meson b/data/shell-completions/bash/meson
index 3dd16cc49..595b5b5a5 100644
--- a/data/shell-completions/bash/meson
+++ b/data/shell-completions/bash/meson
@@ -168,6 +168,55 @@ _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
@@ -175,53 +224,10 @@ _meson-setup() {
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
@@ -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
)