Re: fputs() vs puts()

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

 



On 07/03/2017 04:25 PM, Karel Zak wrote:
>  after change:
>    -e, --exclude MAJOR     exclude specified devices (see below)

> Objections, comment? 

+1 on the above.

Not to open a can of works, but what about documenting option-arguments
to long options separated with '=' in between?

  PRG --opt LIST ARG
vs.
  PRG --opt=LIST ARG

While getopt_long() supports both, the latters is unambigous with regard
to whether LIST is an argument-option or another argument to the program.
The difference may be important when a program changes an option to
accept option-arguments.

Thanks & have a nice day,
Berny
--
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