[sdk/kde-builder/fish_completion] data/completions/fish: add --require-parameter to a handful of options even though we don't specify the argument
Finley Watson <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit fc1f6324c7930417cf230ea4067a950fa51f85e7 by Finley Watson.
Committed on 20/07/2026 at 16:48.
Pushed by finw into branch 'fish_completion'.
add --require-parameter to a handful of options even though we don't specify the argument
M +5 -5 data/completions/fish/kde-builder.fish
https://invent.kde.org/sdk/kde-builder/-/commit/fc1f6324c7930417cf230ea4067a950fa51f85e7
diff --git a/data/completions/fish/kde-builder.fish b/data/completions/fish/kde-builder.fish
index b449e998..9400a878 100644
--- a/data/completions/fish/kde-builder.fish
+++ b/data/completions/fish/kde-builder.fish
@@ -508,7 +508,7 @@ complete --command kde-builder --long num-cores --require-parameter --no-files -
--description "How many CPU cores to build projects with"
# https://kde-builder.kde.org/en/configuration/conf-options-table.html#conf-num-cores-low-mem
-complete --command kde-builder --long num-cores-low-mem \
+complete --command kde-builder --long num-cores-low-mem --require-parameter \
--condition "not __fish_prev_arg_in --run --start-program" \
--description "How many CPU cores to build large / intensive projects with, to avoid running out of RAM"
@@ -574,7 +574,7 @@ complete --command kde-builder --long configure-flags \
--description "Pass flags to ./configure when creating project build system."
# https://kde-builder.kde.org/en/configuration/conf-options-table.html#conf-custom-build-command
-complete --command kde-builder --long custom-build-command \
+complete --command kde-builder --long custom-build-command --require-parameter \
--condition "not __fish_prev_arg_in --run --start-program" \
--description "Perform a build process with the given command"
@@ -589,7 +589,7 @@ complete --command kde-builder --long dest-dir --require-parameter --force-files
--description "Change the name of a project on disk"
# https://kde-builder.kde.org/en/configuration/conf-options-table.html#conf-git-user
-complete --command kde-builder --long git-user \
+complete --command kde-builder --long git-user --require-parameter \
--condition "not __fish_prev_arg_in --run --start-program" \
--description "Set identity in newly downloaded projects. Provide in the form 'User Name <[email protected]>'"
@@ -642,7 +642,7 @@ complete --command kde-builder --long no-purge-old-logs \
--description "Do not delete old logs"
# https://kde-builder.kde.org/en/configuration/conf-options-table.html#conf-qmake-options
-complete --command kde-builder --long qmake-options \
+complete --command kde-builder --long qmake-options --require-parameter \
--condition "not __fish_prev_arg_in --run --start-program" \
--description "Pass given options to `qmake`"
@@ -657,7 +657,7 @@ complete --command kde-builder --long remove-after-install --require-parameter -
--description "Delete source / build directories after build is complete"
# https://kde-builder.kde.org/en/configuration/conf-options-table.html#conf-repository
-complete --command kde-builder --long repository \
+complete --command kde-builder --long repository --require-parameter \
--condition "not __fish_prev_arg_in --run --start-program" \
--description "Specify the Git repository to download the source code of the project"