Bug 85411 - MSG: localectl: improve --help text
Summary: MSG: localectl: improve --help text
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 16:49 UTC by Cem Aydin
Modified: 2014-12-12 12:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.