fish-shell/share/completions/lp.fish
Johannes Altmanninger 9c327b19a6 Fix extra or missing newlines at end of file in our fish scripts
New fish_indent does that too, so this will make any future reformatting
diffs smaller.

Done using either of:

	perl -pi -e 'undef $/; s/\n*$/\n/' share/**.fish
	kak -n -f '<a-/>\n*<ret>d' share/**.fish
2020-08-09 23:53:46 +02:00

12 lines
722 B
Fish

__fish_complete_lpr lp
complete -c lpr -xa "(__fish_complete_suffix .pdf)"
complete -c lpr -xa "(__fish_complete_suffix .ps)"
complete -c lp -s d -d 'Prints files to the named printer' -xa '(__fish_print_lpr_printers)'
complete -c lp -s i -d 'Specifies an existing job to modify' -x
complete -c lp -s n -d 'Sets the number of copies to print from 1 to 100' -x
complete -c lp -s q -d 'Sets the job priority from 1 (lowest) to 100 (highest)'
complete -c lp -s s -d 'Do not report the resulting job IDs (silent mode)'
complete -c lp -s t -d 'Sets the job name' -x
complete -c lp -s H -d 'Specifies when the job should be printed' -xa 'hold immediate restart resume HH:MM'
complete -c lp -s P -d 'Specify the page ranges' -x