[PATCH] D85596: [Docs] Link to --print-supported-cpus option

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


tmfink updated this revision to Diff 287290.
tmfink added a comment.

Fix rendering of --print-supported-cpus option and make alias documentation a
complete sentence.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85596/new/

https://reviews.llvm.org/D85596

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: D85596.287290.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200824/b66ae982/attachment-0001.bin>


More information about the cfe-commits mailing list