zsh-users
 help / color / mirror / code / Atom feed
From: Silas Silva <silasdb@gmail.com>
To: zsh-users@zsh.org
Subject: Add "page-ranges" to the _lp completion
Date: Tue, 4 Sep 2012 14:56:37 -0300	[thread overview]
Message-ID: <20120904175636.GA11992@auron.ufabc.int.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

Hi there!

A sugestion to add to the _lp file (regarding page selection when
printing stuff): the "page-ranges" option.

See patch.

Thank you.

-- 
Silas Silva

[-- Attachment #2: _lp.diff --]
[-- Type: text/plain, Size: 456 bytes --]

diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp
index e0654e7..8da84a1 100644
--- a/Completion/Unix/Command/_lp
+++ b/Completion/Unix/Command/_lp
@@ -28,7 +28,7 @@ _lp_job_options()
 
   # Generic options (from lp manual page)
   lopts_with_args=( media orientation-requested sides number-up scaling cpi lpi
-    page-{bottom,left,right,top} )
+    page-{bottom,left,right,top} page-ranges )
 
   lopts_no_args=(fitplot landscape)
 

                 reply	other threads:[~2012-09-04 17:50 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=20120904175636.GA11992@auron.ufabc.int.br \
    --to=silasdb@gmail.com \
    --cc=zsh-users@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).