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>
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>
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits