Public bug reported:

Hi,

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:

```
[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.

** Affects: hplip
     Importance: Undecided
         Status: New

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: hplip (Fedora)
     Importance: Unknown
         Status: Unknown

** Patch added: "Proposed patch"
   
https://bugs.launchpad.net/bugs/1925480/+attachment/5490977/+files/hplip-systray-qt5.patch

** Also affects: hplip (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: Red Hat Bugzilla #1951922
   https://bugzilla.redhat.com/show_bug.cgi?id=1951922

** Also affects: hplip (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=1951922
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1925480

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1925480/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to