[PATCH] D86426: [Docs] Fix --print-supported-cpus option rendering

Travis Finkenauer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 23 20:13:31 PDT 2020


tmfink created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
tmfink requested review of this revision.

Adds link/code sample to avoid rendering two dashes as non-ASCII "en dash".
Also make wording a complete sentence.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86426

Files:
  clang/docs/CommandGuide/clang.rst


Index: clang/docs/CommandGuide/clang.rst
===================================================================
--- clang/docs/CommandGuide/clang.rst
+++ clang/docs/CommandGuide/clang.rst
@@ -338,12 +338,12 @@
 .. 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>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86426.287289.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200824/67bac65c/attachment.bin>


More information about the cfe-commits mailing list