about summary refs log tree commit diff
path: root/Completion/Unix/Command/_gradle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-07-09 00:23:52 +0200
committerOliver Kiddle <opk@zsh.org>2021-07-09 00:23:52 +0200
commite6fdd35a83881a957ac206b4e128886d07f37c71 (patch)
tree3b5c1128104ee38544c89e10329be417f057bb78 /Completion/Unix/Command/_gradle
parentbffe543142978b036621291dcfe08771ad6b4bda (diff)
downloadzsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.gz
zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.xz
zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.zip
49150: consistently use singular form for headings on completion match groups
Diffstat (limited to 'Completion/Unix/Command/_gradle')
-rw-r--r--Completion/Unix/Command/_gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_gradle b/Completion/Unix/Command/_gradle
index 9a75daefb..adf5e9aa8 100644
--- a/Completion/Unix/Command/_gradle
+++ b/Completion/Unix/Command/_gradle
@@ -95,18 +95,18 @@ if [[ $words[CURRENT] != -* ]]; then
                 _tags gradle_group gradle_all
                 while _tags; do
                     # Offer main tasks and secondary tasks in different tags.
-                    _requested gradle_group && _describe 'group tasks' gradle_group_tasks && ret=0
-                    _requested gradle_all && _describe 'secondary tasks' gradle_all_tasks && ret=0
+                    _requested gradle_group && _describe 'group task' gradle_group_tasks && ret=0
+                    _requested gradle_all && _describe 'secondary task' gradle_all_tasks && ret=0
                     (( ret )) || break
                 done
             elif [[ $state == alltask ]]; then
                 # After '--exclude-task', we don't make a distinction between main tasks and
                 # secondary tasks.
-                _describe 'all tasks' gradle_group_tasks -- gradle_all_tasks && ret=0
+                _describe 'task' gradle_group_tasks -- gradle_all_tasks && ret=0
             fi
         fi
     else
-        _describe 'built-in tasks' '(
+        _describe 'built-in task' '(
             "dependencies:Displays all dependencies declared in root project."
             "dependencyInsight:Displays the insight into a specific dependency in root project."
             "help:Displays a help message."