summary refs log tree commit diff
diff options
context:
space:
mode:
authorJun T <takimoto-j@kba.biglobe.ne.jp>2013-07-18 00:40:02 +0900
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2013-07-17 19:27:20 +0100
commit29256a7c9656e20fc44ebeb257230ba41c23e74e (patch)
tree9e6e487be92c9a0d0dcc4dcf141e317463c15679
parenta71b8df9b21bfa3e3cb11ca7c72a56adf5dde7ee (diff)
downloadzsh-29256a7c9656e20fc44ebeb257230ba41c23e74e.tar.gz
zsh-29256a7c9656e20fc44ebeb257230ba41c23e74e.tar.xz
zsh-29256a7c9656e20fc44ebeb257230ba41c23e74e.zip
31525: Fix some options in _make
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_make8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 141f048d4..a2e4d120b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-17  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Jun T: 31525: Completion/Unix/Command/_make: fix some option
+	handling.
+
 2013-07-12  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* Nick Cross: 31512: Completion/Unix/Command/_make:
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index 5dd0a21a4..355c68e13 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -160,7 +160,7 @@ _make() {
     incl="(-|)include"
     option_specs=(
       {-B,--always-make}'[Unconditionally make all targets]'
-      {-C,--directory=}'[change directory first]:directory:->dir'
+      '*'{-C,--directory=}'[change directory first]:directory:->dir'
       '-d[Print lots of debug information]'
       '--debug=-[Print various types of debug information]:FLAGS'
       {-e,--environment-overrides}'[Environment variables override makefiles]'
@@ -168,13 +168,13 @@ _make() {
       {-f,--file=,--makefile=}'[Read FILE as a makefile]:file:->file'
       '-h[Print this message and exit]'
       {-i,--ignore-errors}'[Ignore errors from recipes]'
-      {-I,--include-dir=}'[Search DIRECTORY for included makefiles]:directory:->dir'
+      '*'{-I,--include-dir=}'[Search DIRECTORY for included makefiles]:directory:->dir'
       {-j,--jobs=}'[Allow N jobs at once; infinite jobs with no arg]:number of jobs'
       {-k,--keep-going}"[Keep going when some targets can't be made]"
       {-l,--load-average=,--max-load}"[Don't start multiple jobs unless load is below N]:load"
       {-L,--check-symlink-times}'[Use the latest mtime between symlinks and target]'
       {-n,--just-print,--dry-run,--recon}"[Don't actually run any recipe; just print them]"
-      {-o,--old-file=,--assume-old=}"[Consider FILE to be very old and don't remake it]:file not to remake:->file"
+      '*'{-o,--old-file=,--assume-old=}"[Consider FILE to be very old and don't remake it]:file not to remake:->file"
       {-p,--print-data-base}'[Print makes internal database]'
       {-q,--question}'[Run no recipe; exit status says if up to date]'
       {-r,--no-builtin-rules}'[Disable the built-in implicit rules]'
@@ -185,7 +185,7 @@ _make() {
       {-v,--version}'[Print the version number of make and exit]'
       {-w,--print-directory}'[Print the current directory]'
       '--no-print-directory[Turn off -w, even if it was turned on implicitly]'
-      {-W,--what-if=,--new-file=,--asume-new=}'[Consider FILE to be infinitely new]:file to treat as modified:->file'
+      '*'{-W,--what-if=,--new-file=,--asume-new=}'[Consider FILE to be infinitely new]:file to treat as modified:->file'
       '--warn-undefined-variables[Warn when an undefined variable is referenced]'
       '--warn-undefined-functions[Warn when an undefined user function is called]'
     )