]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add cupsCheckDestSupported test to the supported action.
authorMichael Sweet <michael.r.sweet@gmail.com>
Thu, 22 Jun 2017 13:07:47 +0000 (09:07 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Thu, 22 Jun 2017 13:07:47 +0000 (09:07 -0400)
cups/testdest.c

index f7e6467d538013c5270a4ace8ad7a94ba61b386a..4e2cbed50272f52870787367a43ff62d766791c6 100644 (file)
@@ -594,7 +594,8 @@ show_supported(http_t       *http,  /* I - Connection to destination */
   }
   else if (!value)
   {
-    puts(option);
+    printf("%s (%s)\n", option, cupsCheckDestSupported(http, dest, dinfo, option, NULL) ? "supported" : "not-supported");
+
     if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL)
     {
       count = ippGetCount(attr);