! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
h flag should be removed
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Yan Pas 2016-08-31 20:09:43 CEST
xfce4-session-logout has long and short opts (https://git.xfce.org/xfce/xfce4-session/tree/xfce4-session-logout/main.c) 
Short 'h' opt is duplicated in sources with 'hibernate' and 'halt'. It should be removed from both and moved to 'help'
Comment 1 Git Bot editbugs 2017-06-11 11:56:15 CEST
Eric Koegel referenced this bugreport in commit 1ed67a56974a32ea01dcb1fabc85b95238025cc8

xfce4-session-logout: deconflict -h option (Bug #12806)

https://git.xfce.org/xfce/xfce4-session/commit?id=1ed67a56974a32ea01dcb1fabc85b95238025cc8
Comment 2 Eric Koegel editbugs 2017-06-11 11:57:40 CEST
The --help option appears to come from the g_option_group and I don't see a way to set it to -h so I kept halt with -h and changed the letters of the other options. Marking closed.

Bug #12806

Reported by:
Yan Pas
Reported on: 2016-08-31
Last modified on: 2017-06-11

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
Unspecified

Attachments

Additional information