fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d835c5252
master
1# localization: tier3 2function __fish_complete_lpr -d'Complete lpr common options' --argument-names cmd 3complete -c$cmd -s E -d'Forces encryption when connecting to the server' 4complete -c$cmd -s U -d'Specifies an alternate username' -xa'(__fish_complete_users)' 5 6switch $cmd 7case lpr lpq lprm 8complete -c$cmd -s P -d'Specifies an alternate printer or class name' -xa'(__fish_print_lpr_printers)' 9end 10 11switch $cmd 12case lpq cancel 13complete -c$cmd -s a -d'Apply command to all printers' 14end 15 16switch $cmd 17case lpq cancel lpmove lpstat lprm lpoptions lp reject accept cupsaccept cupsreject cupsenable cupsdisable 18complete -c$cmd -s h -d'Specifies an alternate server' -xa'(__fish_print_hostnames)' 19end 20 21switch $cmd 22case lp lpr 23complete -c$cmd -s m -d'Send an email on job completion' 24 25complete -c$cmd -s o -xa landscape -d'Landscape mode' 26complete -c$cmd -s o -xa"media=a4 media=letter media=legal" -d'Media size' 27complete -c$cmd -s o -xa page-ranges= -d'Page ranges' 28complete -c$cmd -s o -xa orientation-requested= -d'Choose orientation (4-landscape)' 29complete -c$cmd -s o -xa'sides-one-sided two-sided-long-edge two-sided-short-edge' -d'Choose between one/two sided modes' 30complete -c$cmd -s o -xa fitplot -d'Scale the print file to fit on the page' 31complete -c$cmd -s o -xa'number-up=2 number-up=4 number-up=6 number-up=9' -d'Print multiple document pages on each output page' 32complete -c$cmd -s o -xa'scaling=' -d'Scale image files to use up to number percent of the page' 33complete -c$cmd -s o -xa'cpi=' -d'Set the number of characters per inch to use' 34complete -c$cmd -s o -xa'lpi=' -d'Set the number of lines per inch to use' 35complete -c$cmd -s o -xa'page-bottom= page-left= page-right= page-top=' -d'Set the page margins when printing text files' 36# this must be last 37complete -c$cmd -s o -d'Sets a job option' -xa'(__fish_complete_lpr_option)' 38end 39end