Re: [PATCH] logger: do not show arguments of --socket-errors as optional in --help

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

 




Op 29-01-2025 om 13:32 schreef Karel Zak:
On Mon, Jan 27, 2025 at 12:08:25PM GMT, Benno Schulenberg wrote:
-	fputs(_("     --socket-errors[=<on|off|auto>]\n"
+	fputs(_("     --socket-errors on|off|auto\n"
  		"                          print connection errors when using Unix sockets\n"), out);

I don't have a strong opinion about it, but in other places we see
something like:

    --socket-errors <mode>   print connection errors when using Unix sockets (on, off or auto)

When there are just a few possible argument values, I prefer to list
them directly after the option -- it saves having to interpret words
like "mode", and then looking for the possible values further down.
It also makes it a little less likely that translators mistakenly
translate these values.


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[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