]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
call with --std-ipp-uris command line option to show uris in standard form 277/head
authornidhijainpnp <12njain06@gmail.com>
Mon, 10 Aug 2020 07:46:39 +0000 (13:16 +0530)
committernidhijainpnp <12njain06@gmail.com>
Mon, 10 Aug 2020 07:46:39 +0000 (13:16 +0530)
utils/driverless.1
utils/driverless.c

index 81e87a805137bf7d146152c6d7ba64bf1d16a091..7b4b791f1fc0ecd8ea21fa0a106a4a1f7081bc4d 100644 (file)
@@ -5,7 +5,7 @@
 .SH SYNOPSIS
 .nf
 .fam C
-\fBdriverless\fP [\fB-h\fP | \fB--help\fP | \fB--version\fP] [\fB-d\fP | \fB-v\fP | \fB--debug\fP] [\fBlist\fP] [\fB_ipps._tcp\fP] [\fB_ipp._tcp\fP] | [\fBcat\fP \fIdriver URI\fP] | [\fIIPP printer URI\fP]
+\fBdriverless\fP [\fB-h\fP | \fB--help\fP | \fB--version\fP] [\fB-d\fP | \fB-v\fP | \fB--debug\fP] [\fBlist\fP] [\fB_ipps._tcp\fP] [\fB_ipp._tcp\fP] [\fB--std-ipp-uris\fP] | [\fBcat\fP \fIdriver URI\fP] | [\fIIPP printer URI\fP]
 
 .fam T
 .fi
@@ -60,6 +60,10 @@ Check for only IPPS printers supporting driverless printing .
 Check for only IPP printers supporting driverless printing .
 .TP
 .B
+\fB--std-ipp-uris\fP
+Show URIS in standard form
+.TP
+.B
 \fBcat\fP \fIdriver URI\fP
 Generate the PPD file for the supplied \fIdriver URI\fP from the output of "list"
 (to be used by CUPS).
index 8d059b89f79a7ba0de5443bc4e6658596e311e9f..b9a7325075f8f6959ebd7db5628e36fc2089f0cc 100644 (file)
@@ -795,7 +795,7 @@ int main(int argc, char*argv[]) {
       }else if (!strcasecmp(argv[i], "_ipp._tcp")) {
        /* reg_type_no = 0 for IPP entries only*/
        reg_type_no = 0;
-      }else if (!strcasecmp(argv[i], "dns-sd-off")) {
+      }else if (!strcasecmp(argv[i], "--std-ipp-uris")) {
        /* Show URIS in standard form */
        exit(list_printers(-1,reg_type_no));
       }else if (!strncasecmp(argv[i], "cat", 3)) {
@@ -859,7 +859,7 @@ int main(int argc, char*argv[]) {
          "                          used by CUPS).\n"
     "  _ipps._tcp              Check for only IPPS printers supporting driverless printing\n"
     "  _ipp._tcp               Check for only IPP printers supporting driverless printing\n"
-    "  dns-sd-off              Show URIS in standard form\n"
+    "  --std-ipp-uris          Show URIS in standard form\n"
          "  cat <driver URI>        Generate the PPD file for the driver URI\n"
          "                          <driver URI> (to be used by CUPS).\n"
          "  <printer URI>           Generate the PPD file for the IPP/IPPS printer URI\n"