Przeglądaj źródła

[docs][llvm-strip][llvm-objcopy] Improve wording and fix highlighting

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372754 91177308-0d34-0410-b5e6-96231b3b80d8
James Henderson 5 lat temu
rodzic
commit
bd0b235e2b

+ 2 - 2
docs/CommandGuide/llvm-objcopy.rst

@@ -182,8 +182,8 @@ them.
 
 
 .. option:: --allow-broken-links
 .. option:: --allow-broken-links
 
 
- Allow llvm-objcopy to remove sections even if it would leave invalid section
- references. Any invalid sh_link fields will be set to zero.
+ Allow :program:`llvm-objcopy` to remove sections even if it would leave invalid
+ section references. Any invalid sh_link fields will be set to zero.
 
 
 .. option:: --build-id-link-dir <dir>
 .. option:: --build-id-link-dir <dir>
 
 

+ 5 - 5
docs/CommandGuide/llvm-strip.rst

@@ -13,10 +13,10 @@ DESCRIPTION
 
 
 :program:`llvm-strip` is a tool to strip sections and symbols from object files.
 :program:`llvm-strip` is a tool to strip sections and symbols from object files.
 If no other stripping or remove options are specified, :option:`--strip-all`
 If no other stripping or remove options are specified, :option:`--strip-all`
-will be enabled by default.
+will be enabled.
 
 
-The input files are modified in-place. If "-" is specified for the input file,
-the input is read from the program's standard input stream.
+By default, the input files are modified in-place. If "-" is specified for the
+input file, the input is read from the program's standard input stream.
 
 
 If the input is an archive, any requested operations will be applied to each
 If the input is an archive, any requested operations will be applied to each
 archive member individually.
 archive member individually.
@@ -129,8 +129,8 @@ them.
 
 
 .. option:: --allow-broken-links
 .. option:: --allow-broken-links
 
 
- Allow llvm-strip to remove sections even if it would leave invalid section
- references. Any invalid sh_link fields will be set to zero.
+ Allow :program:`llvm-strip` to remove sections even if it would leave invalid
+ section references. Any invalid sh_link fields will be set to zero.
 
 
 .. option:: --discard-locals, -X
 .. option:: --discard-locals, -X