Bug 85411

Summary: MSG: localectl: improve --help text
Product: systemd Reporter: Cem Aydin <cem.aydin>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Cem Aydin 2014-10-24 16:49:42 UTC

    
Comment 1 Cem Aydin 2014-10-24 17:07:53 UTC
This command is supposed to set the virtual console keymap.

Helptext:   
~~~
Commands:
  [...]
  set-keymap MAP [MAP]     Set virtual console keyboard mapping
~~~

However it changed my X11 keymap configuration file.

Afterwards I checked the manpage and find:
~~~
           Unless --no-convert is
           passed, the selected setting is also applied to the default
           keyboard mapping of X11, after converting it to the closest
           matching X11 keyboard mapping. Use list-keymaps for a list of
           available keyboard mappings (see below).
~~~

Now this is totally unexpected and doesn't make any sense at all.
I didn't check the --no-convert option beforehand, because it's - unexpected.

Even if there's a friendly intention behind this, it just feels like: "You just got screwed!"
What were you thinking, when you programmed this ?

Please, clarify the description in the help text or change the behavior.

Thanks
Comment 2 Zbigniew Jedrzejewski-Szmek 2014-12-11 05:44:44 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=2ebcf93670.
Comment 3 Cem Aydin 2014-12-12 12:50:33 UTC
Thanks for improving/fixing (despite my provokative report).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.