[Patch] hp-systray doesn't support --qt5, but help message says it does
Bug #1925480 reported by
zdohnal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned | ||
hplip (Fedora) |
Unknown
|
Unknown
|
|||
hplip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
we have an issue in Fedora (https:/
```
[OPTIONS]
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.
To post a comment you must log in.
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.]