Bug 773711 - rhsm-icon --display=DISPLAY option appears in both --help and --help-gtk
Summary: rhsm-icon --display=DISPLAY option appears in both --help and --help-gtk
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-01-12 17:13 UTC by John Sefler
Modified: 2013-01-10 10:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-24 15:52:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description John Sefler 2012-01-12 17:13:12 UTC
Description of problem:

Seems to me that the --display=DISPLAY option should not be shown with
"rhsm-icon --help" since this is a "rhsm-icon --help-gtk" option as
demonstrated below...


[root@jsefler-onprem-5server ~]# rhsm-icon --help
Usage:
  rhsm-icon [OPTION...] rhsm icon

Help Options:
  -?, --help                  Show help options
  --help-all                  Show all help options
  --help-gtk                  Show GTK+ Options

Application Options:
  -c, --check-period          How often to check for validity (in seconds)
  -d, --debug                 Show debug messages
  -f, --force-icon=TYPE       Force display of the icon (expired, partial or
warning)
  -i, --check-immediately     Run the first status check right away
  --display=DISPLAY           X display to use
  ^^^^^^^^^^^^^^^^^
  REMOVE HERE SINCE.....


[root@jsefler-onprem-5server ~]# rhsm-icon --help-gtk
Usage:
  rhsm-icon [OPTION...] rhsm icon

GTK+ Options
  --class=CLASS               Program class as used by the window manager
  --name=NAME                 Program name as used by the window manager
  --display=DISPLAY           X display to use
  --screen=SCREEN             X screen to use
  --sync                      Make X calls synchronous
  --gtk-module=MODULES        Load additional GTK+ modules
  --g-fatal-warnings          Make all warnings fatal

  ^^^^^^^^^^^^^^^^^^
  ....SINCE THE DISPLAY OPTION IS HERE


Version-Release number of selected component (if applicable):
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-gnome
subscription-manager-gnome-0.98.10-1.git.0.5d83904.el5

Comment 1 RHEL Program Management 2012-01-16 05:12:10 UTC
Since RHEL 5.8 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 James Bowes 2012-05-24 15:52:29 UTC
If you do --help-all it shows up in Application Options but not GTK+ Options.

Having the flag always show up is intentional on the part of gtk. I don't agree with it putting itself in my application's options, but I don't have a choice.


Note You need to log in before you can comment on or make changes to this bug.