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>
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