ippfind --version (return code: 0)
CUPS v2.2.2
ippfind --help (return code: 0)
Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]
ippfind [options] name[.regtype[.domain.]] ... [expression]
ippfind --help
ippfind --version
Options:
-4 Connect using IPv4.
-6 Connect using IPv6.
-T seconds Set the browse timeout in seconds.
-V version Set default IPP version.
--help Show this help.
--version Show program version.
Expressions:
-P number[-number] Match port to number or range.
-d regex Match domain to regular expression.
-h regex Match hostname to regular expression.
-l List attributes.
-n regex Match service name to regular expression.
-p Print URI if true.
-q Quietly report match via exit code.
-r True if service is remote.
-s Print service name if true.
-t key True if the TXT record contains the key.
-u regex Match URI to regular expression.
-x utility [argument ...] ;
Execute program if true.
--domain regex Match domain to regular expression.
--exec utility [argument ...] ;
Execute program if true.
--host regex Match hostname to regular expression.
--ls List attributes.
--local True if service is local.
--name regex Match service name to regular expression.
--path regex Match resource path to regular expression.
--port number[-number] Match port to number or range.
--print Print URI if true.
--print-name Print service name if true.
--quiet Quietly report match via exit code.
--remote True if service is remote.
--txt key True if the TXT record contains the key.
--txt-* regex Match TXT record key to regular expression.
--uri regex Match URI to regular expression.
Modifiers:
( expressions ) Group expressions.
! expression Unary NOT of expression.
--not expression Unary NOT of expression.
--false Always false.
--true Always true.
expression expression Logical AND.
expression --and expression
Logical AND.
expression --or expression
Logical OR.
Substitutions:
{} URI
{service_domain} Domain name
{service_hostname} Fully-qualified domain name
{service_name} Service instance name
{service_port} Port number
{service_regtype} DNS-SD registration type
{service_scheme} URI scheme
{service_uri} URI
{txt_*} Value of TXT record key
Environment Variables:
IPPFIND_SERVICE_DOMAIN Domain name
IPPFIND_SERVICE_HOSTNAME
Fully-qualified domain name
IPPFIND_SERVICE_NAME Service instance name
IPPFIND_SERVICE_PORT Port number
IPPFIND_SERVICE_REGTYPE DNS-SD registration type
IPPFIND_SERVICE_SCHEME URI scheme
IPPFIND_SERVICE_URI URI
IPPFIND_TXT_* Value of TXT record key