I agree, for the reason you gave: dashes are the norm in Unix, so they
"feel right" for flag names.

-Will

On Mon, Apr 10, 2017 at 1:38 PM, Dan Burkert <[email protected]> wrote:

> Hi all,
>
> As of Kudu 1.3, multi-word flags can use a dash '-' separator in lieu of
> the underscore '_' separator.  For example,  --memory_limit_hard_bytes can
> now be specified as --memory-limit-hard-bytes, or even
> --memory_limit-hard_bytes.  Of the people I've talked to, most seem to
> prefer dashes to underscores in flag names, since that's been the Unix norm
> for a long time.
>
> Going forward, I'd like to propose that we document flag names using dashes
> wherever possible.  We would continue accepting underscores indefinitely,
> since to stop doing so would break compatibility. For the most part, this
> means incrementally switching the documentation to use dashes, and getting
> glog to output dashes in --help output.
>
> Any thoughts?
>
> - Dan
>

Reply via email to