zsh-workers
 help / color / mirror / code / Atom feed
* [Patch] Add a fit-to-page option to the completions for the lp command
@ 2018-10-19 11:44 Marcin Mielniczuk
  0 siblings, 0 replies; only message in thread
From: Marcin Mielniczuk @ 2018-10-19 11:44 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1.1.1: Type: text/plain, Size: 137 bytes --]

See https://www.cups.org/doc/options.html for reference.
I'm not on the mailing list, so please make sure to keep me in the cc list.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: fit-to-page.patch --]
[-- Type: text/x-patch; name="fit-to-page.patch", Size: 521 bytes --]

diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp
index 63fbab7..8c7ba7a 100644
--- a/Completion/Unix/Command/_lp
+++ b/Completion/Unix/Command/_lp
@@ -30,7 +30,7 @@ _lp_job_options()
   lopts_with_args=( media orientation-requested sides number-up scaling cpi lpi
     page-{bottom,left,right,top} page-ranges )
 
-  lopts_no_args=(fitplot landscape)
+  lopts_no_args=(fitplot fit-to-page landscape)
 
   if [[ $service == 'lpadmin' ]]; then
     # Extra options from lpadmin man page.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-19 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-19 11:44 [Patch] Add a fit-to-page option to the completions for the lp command Marcin Mielniczuk

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).