From 0673212f4296275de1cf9935446580930109c9a5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 6 Sep 2020 03:23:08 +1000 Subject: unposted: remove periods from completion descriptions As per the completion-style-guide recommendations. --- ChangeLog | 8 ++++++++ Completion/Unix/Command/_lp | 2 +- Completion/Unix/Command/_transmission | 2 +- Completion/X/Command/_code | 2 +- Completion/X/Command/_kdeconnect | 2 +- Completion/Zsh/Command/_zstyle | 2 +- 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 + + * 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 * 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)]' -- cgit 1.4.1