From: Marcin Mielniczuk <marmistrz.dev@zoho.eu>
To: zsh-workers@zsh.org
Subject: [Patch] Add a fit-to-page option to the completions for the lp command
Date: Fri, 19 Oct 2018 13:44:49 +0200 [thread overview]
Message-ID: <9d01f3d9-fe81-47e5-cd35-507fb6896a75@zoho.eu> (raw)
[-- 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 --]
reply other threads:[~2018-10-19 12:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d01f3d9-fe81-47e5-cd35-507fb6896a75@zoho.eu \
--to=marmistrz.dev@zoho.eu \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).