about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYasuhiro KIMURA <yasu@utahime.org>2018-07-19 13:08:17 +0900
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-07-19 04:58:01 +0000
commit2a8ecbd2d3d444138b7a488d5d6b8ad860f8fd6f (patch)
tree59a9728d4505ea108304b2a1f1625c9796213d2e
parent6ae241c43a12a1639195b31ea7649ae9643dd4c7 (diff)
downloadzsh-2a8ecbd2d3d444138b7a488d5d6b8ad860f8fd6f.tar.gz
zsh-2a8ecbd2d3d444138b7a488d5d6b8ad860f8fd6f.tar.xz
zsh-2a8ecbd2d3d444138b7a488d5d6b8ad860f8fd6f.zip
43187: Fix completion error about 'm' option of 'install' command
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_install2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cc3fe358c..da38d4760 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-19  Yasuhiro KIMURA  <yasu@utahime.org>
+
+	* 43187: Completion/Unix/Command/_install: Fix completion error
+	about 'm' option of 'install' command
+
 2018-07-17  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Doron Behar: 43166: Completion/Unix/Type/_pspdf,
diff --git a/Completion/Unix/Command/_install b/Completion/Unix/Command/_install
index f5056b5d0..4feb34ebf 100644
--- a/Completion/Unix/Command/_install
+++ b/Completion/Unix/Command/_install
@@ -11,7 +11,7 @@ common_args=(
   '(-C -c --compare)-c[copy files (default)]'
   '(-d --directory)'{-d,--directory}'[create directories]'
   '(-g --group)'{-g+,--group=}'[specify destination file group]: :_groups'
-  '(-m --mode)'{-m+,--mode=}'[specify destination file mode]: :_modes'
+  '(-m --mode)'{-m+,--mode=}'[specify destination file mode]: :_file_modes'
   '(-o --owner)'{-o+,--owner=}'[specify destination file owner]: :_users'
   '(-p --preserve-timestamps)'{-p,--preserve-timestamps}'[preserve modification times]'
   '(-s --strip)'{-s,--strip}'[strip binaries]'