diff options
author | Travis Finkenauer <tmfinken@gmail.com> | 2020-09-13 05:26:08 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-09-13 05:26:18 +0000 |
commit | 0fb2203cd6c287e7438b7ac2571645066c63eeb6 (patch) | |
tree | c5c757abb4818cffcc98cdde87670084aa004394 /clang/docs/CommandGuide | |
parent | 61d29e0dff0e93f3fa1382fb177634840844b273 (diff) | |
download | llvm-0fb2203cd6c287e7438b7ac2571645066c63eeb6.zip llvm-0fb2203cd6c287e7438b7ac2571645066c63eeb6.tar.gz llvm-0fb2203cd6c287e7438b7ac2571645066c63eeb6.tar.bz2 |
[Docs] Fix --print-supported-cpus option rendering
Adds link/code sample to avoid rendering two dashes as non-ASCII "en dash".
Also make wording a complete sentence.
Reviewed By: nickdesaulniers, tmfink
Differential Revision: https://reviews.llvm.org/D85596
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r-- | clang/docs/CommandGuide/clang.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index 394bd1be..11169e3 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -338,12 +338,12 @@ number of cross compilers, or may only support a native target. .. option:: --print-supported-cpus Print out a list of supported processors for the given target (specified - through --target=<architecture> or -arch <architecture>). If no target is - specified, the system default target will be used. + through ``--target=<architecture>`` or :option:`-arch` ``<architecture>``). If no + target is specified, the system default target will be used. .. option:: -mcpu=?, -mtune=? - Aliases of --print-supported-cpus + Acts as an alias for :option:`--print-supported-cpus`. .. option:: -march=<cpu> |