2012-06-16 00:30:10 +00:00
|
|
|
__fish_complete_lpr lpstat
|
2022-01-21 21:53:57 +00:00
|
|
|
complete -c lpstat -s H -d 'Show server hostname and port'
|
|
|
|
complete -c lpstat -s R -d 'Shows ranking of print jobs'
|
|
|
|
complete -c lpstat -s W -d 'Specify which jobs to show' -xa 'completed not-completed'
|
|
|
|
complete -c lpstat -s a -d 'Shows accepting state of selected printer queues' -xa '(__fish_print_lpr_printers)'
|
|
|
|
complete -c lpstat -s c -x -d 'Shows printer classes and the printers that belong to them'
|
2012-06-16 00:30:10 +00:00
|
|
|
complete -c lpstat -s d -d 'Shows the current default destination'
|
2022-01-21 21:53:57 +00:00
|
|
|
complete -c lpstat -s l -d 'Shows list of printers, classes, or jobs'
|
|
|
|
complete -c lpstat -s o -d 'Shows jobs queue on the specified destinations' -xa '(__fish_print_lpr_printers)'
|
|
|
|
complete -c lpstat -s p -d 'Shows printers and if they are enabled for printing' -xa '(__fish_print_lpr_printers)'
|
2012-06-16 00:30:10 +00:00
|
|
|
complete -c lpstat -s r -d 'Shows whether the CUPS server is running'
|
2022-01-21 21:53:57 +00:00
|
|
|
complete -c lpstat -s s -d 'Shows a status summary, including default destination'
|
2012-06-16 00:30:10 +00:00
|
|
|
complete -c lpstat -s t -d 'Shows all status information'
|
|
|
|
complete -c lpstat -s u -d 'Shows a list of print jobs queued by the specified users' -xa '(__fish_complete_users)'
|
2022-01-21 21:53:57 +00:00
|
|
|
complete -c lpstat -s v -d 'Shows printers and what device they are attached to' -xa '(__fish_print_lpr_printers)'
|