[PATCH] D116353: [docs][llvm-profdata] Prefer double-dash long options
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 29 15:23:31 PST 2021
MaskRay added inline comments.
================
Comment at: llvm/docs/CommandGuide/llvm-profdata.rst:61
-.. option:: -output=output, -o=output
+.. option:: --output=<output>, -o
----------------
snehasish wrote:
> -o=<output>
>
> to keep it consistent with the old documentation, also the dangling -o looks off.
(Thanks for review:) )
I try to avoid `-o=<value>` because it is odd (see D104889).
Omitting the value name for the short option is a style used by other tools like
https://llvm.org/docs/CommandGuide/llvm-objcopy.html
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116353/new/
https://reviews.llvm.org/D116353
More information about the llvm-commits
mailing list