summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_chmod10
-rw-r--r--Completion/Unix/Command/_chown2
-rw-r--r--Completion/Unix/Command/_mkdir2
-rw-r--r--Completion/Unix/Command/_mv2
-rw-r--r--Completion/Unix/Command/_rmdir2
6 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index be4a03676..52b9bcd51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,11 @@
 	Completion/Unix/Command/_rm, Completion/Unix/Command/_rmdir:
 	Fix use of -A and -S options to _arguments
 
+	* 44251: Completion/Unix/Command/_chmod,
+	Completion/Unix/Command/_chown, Completion/Unix/Command/_mkdir,
+	Completion/Unix/Command/_mv, Completion/Unix/Command/_rmdir:
+	Fix various wording issues
+
 2019-04-25  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 44248: Src/init.c: Mark SIGQUIT as ignored if ignored at
diff --git a/Completion/Unix/Command/_chmod b/Completion/Unix/Command/_chmod
index f72055b17..3f6db7e91 100644
--- a/Completion/Unix/Command/_chmod
+++ b/Completion/Unix/Command/_chmod
@@ -43,7 +43,7 @@ case "$variant" in
     ;|
   freebsd*|netbsd*|darwin*|dragonfly*)
     args+=(
-      '-h[operate on symlinks them self]'
+      '-h[operate on symlinks themselves]'
     )
     ;|
   freebsd*|openbsd*|netbsd*|darwin*|dragonfly*)
@@ -55,11 +55,11 @@ case "$variant" in
     ;|
   darwin*)
     args+=(
-      '(1)-C[returns false if any of the named files have ACLs]'
+      '(1)-C[return false if any specified files have ACLs]'
       '(1)-N[remove ACLs from specified files]'
-      '(1)-E[read ACL info from stdin as a sequential list of ACEs]'
-      '(1)-i[removes inherited bit from all entries in named files ACLs]'
-      '(1)-I[removes all inherited entries from named files ACLs]'
+      '(1)-E[read ACL info from stdin as sequential list of ACEs]'
+      "(1)-i[remove inherited bit from all entries in specified files' ACLs]"
+      "(1)-I[remove all inherited entries from specified files' ACLs]"
     )
     ;;
 esac
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown
index 849607448..9ebbf7bab 100644
--- a/Completion/Unix/Command/_chown
+++ b/Completion/Unix/Command/_chown
@@ -27,7 +27,7 @@ case "$variant" in
     ;;
   *)
     args=(
-      '-h[operate on symlinks them self]'
+      '-h[operate on symlinks themselves]'
       '-R[change files and directories recursively]'
     )
     ;|
diff --git a/Completion/Unix/Command/_mkdir b/Completion/Unix/Command/_mkdir
index e5c99a1e1..0ae6be14b 100644
--- a/Completion/Unix/Command/_mkdir
+++ b/Completion/Unix/Command/_mkdir
@@ -40,7 +40,7 @@ _arguments -C -s -S $aopts $args && ret=0
 case "$state" in
   directories)
     _wanted directories expl \
-      'parent directory (alternatively specify name of directory)' \
+      'parent directory or name of directory to create' \
       _path_files -/ && ret=0
   ;;
 esac
diff --git a/Completion/Unix/Command/_mv b/Completion/Unix/Command/_mv
index 027b2e68c..84e43d47e 100644
--- a/Completion/Unix/Command/_mv
+++ b/Completion/Unix/Command/_mv
@@ -52,4 +52,4 @@ case $variant; in
 esac
 
 _arguments -s -S $aopts $args \
-  '*:file:_files'
+  '*: :_files'
diff --git a/Completion/Unix/Command/_rmdir b/Completion/Unix/Command/_rmdir
index d330e0aef..501ffb1cc 100644
--- a/Completion/Unix/Command/_rmdir
+++ b/Completion/Unix/Command/_rmdir
@@ -29,4 +29,4 @@ esac
 
 _arguments -s -S $aopts \
   $args \
-  '*:directories:_directories'
+  '*: :_directories'