e61228282acced09d9b245b3fc337fd079dc26a8

Author
Wenbing Li <wbingli@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

gradle: fix command option name in completion (#6586)

It should be `--rerun-tasks`, the original one miss a 's' at the end.
See https://docs.gradle.org/current/userguide/command_line_interface.html

Diff

 1diff --git a/plugins/gradle/gradle.plugin.zsh b/plugins/gradle/gradle.plugin.zsh
 2index c651b91cad25b678359609c2735366791cfa0f4b..bba6ad4e9b4e55619a97ca85017de046faed3aba 100644
 3--- a/plugins/gradle/gradle.plugin.zsh
 4+++ b/plugins/gradle/gradle.plugin.zsh
 5@@ -83,7 +83,7 @@ function _gradle_arguments() {
 6     '--quiet[Log errors only]' \
 7     '--recompile-scripts[Forces scripts to be recompiled, bypassing caching]' \
 8     '--refresh-dependencies[Refresh the state of dependencies]' \
 9-    '--rerun-task[Specifies that any task optimization is ignored]' \
10+    '--rerun-tasks[Specifies that any task optimization is ignored]' \
11     '--settings-file[Specifies the settings file]' \
12     '--stacktrace[Print out the stacktrace also for user exceptions]' \
13     '--status[Print Gradle Daemon status]' \