From 1b103864eea2857eef04148ed749adbc914d87fc Mon Sep 17 00:00:00 2001 From: James Henderson Date: Tue, 24 Sep 2019 13:41:39 +0000 Subject: [docs][llvm-strip][llvm-objcopy] Improve wording and fix highlighting llvm-svn: 372754 --- llvm/docs/CommandGuide/llvm-objcopy.rst | 4 ++-- llvm/docs/CommandGuide/llvm-strip.rst | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'llvm/docs/CommandGuide') diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst index df51f2ecf49..35e4d421f0b 100644 --- a/llvm/docs/CommandGuide/llvm-objcopy.rst +++ b/llvm/docs/CommandGuide/llvm-objcopy.rst @@ -182,8 +182,8 @@ them. .. 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 diff --git a/llvm/docs/CommandGuide/llvm-strip.rst b/llvm/docs/CommandGuide/llvm-strip.rst index 779c67c38bd..5f820d6ce4f 100644 --- a/llvm/docs/CommandGuide/llvm-strip.rst +++ b/llvm/docs/CommandGuide/llvm-strip.rst @@ -13,10 +13,10 @@ DESCRIPTION :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` -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 archive member individually. @@ -129,8 +129,8 @@ them. .. 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 -- cgit v1.2.3