zsh-users
 help / color / mirror / code / Atom feed
* Add "page-ranges" to the _lp completion
@ 2012-09-04 17:56 Silas Silva
  0 siblings, 0 replies; only message in thread
From: Silas Silva @ 2012-09-04 17:56 UTC (permalink / raw)
  To: zsh-users

[-- 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)
 

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

only message in thread, other threads:[~2012-09-04 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04 17:56 Add "page-ranges" to the _lp completion Silas Silva

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).