about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2020-09-06 03:23:08 +1000
committerDoug Kearns <dougkearns@gmail.com>2020-09-06 03:42:33 +1000
commit0673212f4296275de1cf9935446580930109c9a5 (patch)
tree11481ebac153d6cd6efbfa370228dc298c477ba8
parent17ee9c5f68d18ef48c1ef99ae6162a06675104f2 (diff)
downloadzsh-0673212f4296275de1cf9935446580930109c9a5.tar.gz
zsh-0673212f4296275de1cf9935446580930109c9a5.tar.xz
zsh-0673212f4296275de1cf9935446580930109c9a5.zip
unposted: remove periods from completion descriptions
As per the completion-style-guide recommendations.
-rw-r--r--ChangeLog8
-rw-r--r--Completion/Unix/Command/_lp2
-rw-r--r--Completion/Unix/Command/_transmission2
-rw-r--r--Completion/X/Command/_code2
-rw-r--r--Completion/X/Command/_kdeconnect2
-rw-r--r--Completion/Zsh/Command/_zstyle2
6 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d7bf8b46..e97ac7eb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-09-05  Doug Kearns  <dougkearns@gmail.com>
+
+	* unposted: Completion/Unix/Command/_lp,
+	Completion/Unix/Command/_transmission, Completion/X/Command/_code,
+	Completion/X/Command/_kdeconnect, Completion/Zsh/Command/_zstyle:
+	Remove periods from completion descriptions as per the
+	completion-style-guide recommendations.
+
 2020-09-04  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 47350; Completion/Unix/Command/_dropbox: new completion.
diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp
index dd2bf5e1a..914d63ff2 100644
--- a/Completion/Unix/Command/_lp
+++ b/Completion/Unix/Command/_lp
@@ -230,7 +230,7 @@ _lp()
 	'-m[send an email on job completion]' \
 	'*-o:print job option:_lp_job_options' \
 	'-p[format with shaded header incl. date, time etc.]' \
-	'-q[hold job for printing.]' \
+	'-q[hold job for printing]' \
 	'-r[delete files after printing]' \
 	'*:PS/PDF file:_pspdf'
       ;;
diff --git a/Completion/Unix/Command/_transmission b/Completion/Unix/Command/_transmission
index 8a4bebec3..400c24b66 100644
--- a/Completion/Unix/Command/_transmission
+++ b/Completion/Unix/Command/_transmission
@@ -97,7 +97,7 @@ local torrent_action_only_actions=(
   {-Bn,--bandwidth-normal}'[give this torrent the bandwidth left over by high priority torrents]'
   {-Bl,--bandwidth-low}'[give this torrent the bandwidth left over by high and normal priority torrents]'
   {-ph,--priority-high}'[try to download the specified file(s) first]:torrent_file:_transmission-remote_torrent_priority_not_high'
-  {-pn,--priority-normal}'[try to download the specified files normally.]:torrent_file:_transmission-remote_torrent_priority_not_normal'
+  {-pn,--priority-normal}'[try to download the specified files normally]:torrent_file:_transmission-remote_torrent_priority_not_normal'
   {-pl,--priority-low}'[try to download the specified files last]:torrent_file:_transmission-remote_torrent_priority_not_low'
   {-v,--verify}'[verify the current torrent(s)]'
 )
diff --git a/Completion/X/Command/_code b/Completion/X/Command/_code
index b725b2a17..76cd3dd19 100644
--- a/Completion/X/Command/_code
+++ b/Completion/X/Command/_code
@@ -4,7 +4,7 @@ local arguments
 
 arguments=(
   '(-d --diff)'{-d,--diff}'[compare two files with each other]:file to compare:_files:file to compare with:_files'
-  \*{-a,--add}'[add specified directory to the last active window.]:directory:_directories'
+  \*{-a,--add}'[add specified directory to the last active window]:directory:_directories'
   '(-g --goto)'{-g,--goto}'[open a file at the path on the specified line and column position]:file\:line[\:column]:_files -r \:'
   '(-n --new-window -r --reuse-window)'{-n,--new-window}'[open a new window]'
   '(-n --new-window -r --reuse-window)'{-r,--reuse-window}'[open a file or directory in the last active window]'
diff --git a/Completion/X/Command/_kdeconnect b/Completion/X/Command/_kdeconnect
index ffb7f5774..ee186690c 100644
--- a/Completion/X/Command/_kdeconnect
+++ b/Completion/X/Command/_kdeconnect
@@ -10,7 +10,7 @@ _arguments \
   '--id-only[make --list-devices or --list-available print only the devices id, to ease scripting]' \
   '--refresh[search for devices in the network and re-establish connections]' \
   '(--pair --unpair)--pair[request pairing with the specified device]' \
-  '--ring[find the device by ringing it.]' \
+  '--ring[find the device by ringing it]' \
   '(--pair --unpair)--unpair[stop pairing to the specified device]' \
   '(--ping --ping-msg)--ping[send a ping to the device]' \
   '(--ping --ping-msg)--ping-msg[send a ping to the device with the specified message]:message' \
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index bb871762e..75acde5f7 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -659,7 +659,7 @@ while (( $#state )); do
           'p[name of top-most patch (applied-string)]' \
           'u[number of unapplied patches (unapplied-string)]' \
           'n[number of applied patches]' \
-          'c[number of unapplied patches.]' \
+          'c[number of unapplied patches]' \
           'a[number of all patches]' \
           'g[names of active mq guards (hg backend)]' \
           'G[number of active mq guards (hg backend)]'