[Patch] hp-systray doesn't support --qt5, but help message says it does

Bug #1925480 reported by zdohnal on 2021-04-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Fedora)
hplip (Ubuntu)

Bug Description


we have an issue in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=1951922) regarding hp-systray. Its help page ('hp-systray -h') says:

  Use Qt5: --qt5 (Default)

but once you run 'hp-systray --qt5', you get:

error: option --qt5 not recognized

It is because 'setUsage()' automatically creates the option in help message if hplip is compiled with GUI, 'parseStdOpt()' doesn't add it to the list of approved options.

The attached patch fixes the issue.

Ubuntu 20.04 is affected too.

Revision history for this message
zdohnal (zdohnal) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Proposed patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.