forwarded 998004 https://github.com/OpenPrinting/cups/issues/453 thanks
On Thu 28 Oct 2021 at 14:51:42 +0200, Roland Hieber wrote: > Package: cups-client > Version: 2.3.3op2-3+deb11u1 > Severity: normal > File: /usr/sbin/lpinfo > > Dear Maintainer, > > I tried using lpinfo with a hostname and a user name, but it complains: > > $ lpinfo -h gutenberg.mydomain -U myuser -l -v > lpinfo: Unknown option "U". > Usage: lpinfo [options] -m > lpinfo [options] -v > Options: > -E Encrypt the connection to the server > -h server[:port] Connect to the named server and port > -l Show verbose (long) output > -m Show models > -U username Specify the username to use for authentication > -v Show devices > --device-id device-id Show models matching the given IEEE 1284 device ID > --exclude-schemes scheme-list > Exclude the specified URI schemes > --include-schemes scheme-list > Include only the specified URI schemes > --language locale Show models matching the given locale > --make-and-model name Show models matching the given make and model name > --product name Show models matching the given PostScript product > --timeout seconds Specify the maximum number of seconds to discover > devices > > These two lines in the help seem to be conflicting: > > lpinfo: Unknown option "U". > [...] > -U username Specify the username to use for authentication > > It does not matter where on the command line I put the -U, the outcome is > always the same, and I haven't figured out yet how to authenticate to > the server with a different user name. Thank you for your report, Roland. The output from your command is correct behaviour; see the manual. The Usage output is not correct. I have sent a report to upstream. Regards, Brian.