80d2e4336b85c070e021571f8724032b204f3c4f

Author
Lucas Larson <91468+LucasLarson@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

Grammar: remove hyphens from predicate adjective “up to date” (#9356)

https://english.stackexchange.com/a/180617
https://web.archive.org/web/20190728053012id_/grammarist.com/usage/up-to-date/#text-60

Diff

 1diff --git a/plugins/cargo/_cargo b/plugins/cargo/_cargo
 2index 12694901ed0464572c0a6d553a561ddcc88f1a9b..ffc9fcdc830e30064afc74efc7c4a9fc40220702 100644
 3--- a/plugins/cargo/_cargo
 4+++ b/plugins/cargo/_cargo
 5@@ -12,8 +12,8 @@ _cargo() {
 6         '(-q --quiet)*'{-v,--verbose}'[use verbose output]'
 7         '(-q --quiet -v --verbose)'{-q,--quiet}'[no output printed to stdout]'
 8         '-Z+[pass unstable (nightly-only) flags to cargo]: :_cargo_unstable_flags'
 9-        '--frozen[require that Cargo.lock and cache are up-to-date]'
10-        '--locked[require that Cargo.lock is up-to-date]'
11+        '--frozen[require that Cargo.lock and cache are up to date]'
12+        '--locked[require that Cargo.lock is up to date]'
13         '--color=[specify colorization option]:coloring:(auto always never)'
14         '(- 1 *)'{-h,--help}'[show help message]'
15     )
16diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh
17index 47b10988e9e1a8419fdee321d6ef6eef0971f8c2..398bd966f48eae5e90ca9aa71ab2173911b1f6e2 100644
18--- a/plugins/golang/golang.plugin.zsh
19+++ b/plugins/golang/golang.plugin.zsh
20@@ -41,7 +41,7 @@ __go_tool_complete() {
21     return
22   fi
23   build_flags=(
24-    '-a[force reinstallation of packages that are already up-to-date]'
25+    '-a[force reinstallation of packages that are already up to date]'
26     '-n[print the commands but do not run them]'
27     '-p[number of parallel builds]:number'
28     '-race[enable data race detection]'