Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[Patch] Add a fit-to-page option to the completions for the lp command



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.

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: signature.asc
Description: OpenPGP digital signature



Messages sorted by: Reverse Date, Date, Thread, Author