Re: swapon: fix -d short option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 21, 2014, at 12:38, Karel Zak wrote:
> Maybe we can add something like
> 
>      Note that the optional policy argument cannot be separated from the -d option by a space, 

It shouldn't be needed to mention this.  It is just common sense that
when an option argument is optional, you cannot separate it from the
option itself by any whitespace because then the parsing cannot decide
whether the thing is the optional option argument or simply another
plain argument.

>      the correct form is for example '-d=pages'.

Another correct form is '-dpages'.  For the short forms of the options
the '=' is not required.

Benno

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux