From: Michael R Sweet
Date: Thu, 18 Sep 2025 15:14:22 +0000 (-0400)
Subject: Add a --user-agent option to the ipptool command.
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23dec7fbdd5d87ba5e021ff4fe32ed9b19a60c5e;p=thirdparty%2Fcups.git
Add a --user-agent option to the ipptool command.
---
diff --git a/CHANGES.md b/CHANGES.md
index 72b60d895b..9a5bf0c458 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -40,6 +40,7 @@ Changes in CUPS v2.5b1 (YYYY-MM-DD)
not specified (Issue #1217)
- Added `print-as-raster` printer and job attributes for forcing rasterization
(Issue #1282)
+- Added a "--user-agent" option to the `ipptool` command.
- Updated documentation (Issue #984, Issue #1086, Issue #1182)
- Updated translations (Issue #1146, Issue #1161, Issue #1164)
- Updated the configure script to default to installing to /usr/local.
diff --git a/doc/help/man-ipptool.html b/doc/help/man-ipptool.html
index 0882b391dd..ed25bfd778 100644
--- a/doc/help/man-ipptool.html
+++ b/doc/help/man-ipptool.html
@@ -25,6 +25,9 @@
] [
--stop-after-include-error
] [
+--user-agent
+USER-AGENT
+] [
--version
] [
-4
@@ -125,6 +128,15 @@ Tells
to stop if an error occurs in an included file. Normally
ipptool
will continue with subsequent tests after the INCLUDE directive.
+
+ --user-agent USER-AGENT
+Specifies the HTTP User-Agent string to use.
+The default is based on the
+UserAgentTokens
+value in the
+client.conf(5)
+
+file.
--version
Shows the version of
@@ -308,13 +320,15 @@ program is unique to CUPS and conforms to the Internet Printing Protocol up to v
ipp://localhost/printers/myprinter create-printer-subscription.test
-ipptoolfile(5),
+client.conf(5),
+
+ipptoolfile(5),
IANA IPP Registry (https://www.iana.org/assignments/ipp-registrations),
PWG Internet Printing Protocol Workgroup (https://www.pwg.org/ipp),
RFC 8011 (https://datatracker.ietf.org/doc/html/rfc8011)
-Copyright © 2021-2024 by OpenPrinting.
+
Copyright © 2021-2025 by OpenPrinting.