[systemd-devel] [PATCH 1/2] man: fix localectl set-x11-keymap syntax description

Jan Synacek jsynacek at redhat.com
Mon Oct 20 02:07:06 PDT 2014


Ran Benita <ran234 at gmail.com> writes:
> On Fri, Oct 17, 2014 at 02:02:12PM +0200, Jan Synacek wrote:
>> ---
>>  man/localectl.xml | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/man/localectl.xml b/man/localectl.xml
>> index 38e73c7..c332027 100644
>> --- a/man/localectl.xml
>> +++ b/man/localectl.xml
>> @@ -178,7 +178,7 @@
>>                          </varlistentry>
>>  
>>                          <varlistentry>
>> -                                <term><command>set-x11-keymap LAYOUT [MODEL] [VARIANT] [OPTIONS]</command></term>
>> +                                <term><command>set-x11-keymap LAYOUT [MODEL [VARIANT [OPTIONS]]]</command></term>
>
> Would have been nice if this used the same order as setxkbmap (which is
> more sensible), but I suppose this cannot be changed?

I'm not sure. The man page of setxkbmap doesn't specify model in the
optional argumets at all, you can change it with the -model
option. Otherwise, the order of arguments is the same. If you want to
put the model argument somewhere, I think that the order that localectl
uses now makes sense. That's just my opinion, though.

-- 
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141020/eade75ae/attachment.sig>


More information about the systemd-devel mailing list