[PATCH] D104888: [docs][llvm-strip] Fix documentation for -s/-S

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 24 17:11:20 PDT 2021


alexshap created this revision.
alexshap added reviewers: smeenai, jhenderson.
alexshap requested review of this revision.
Herald added a project: LLVM.

Fix the command line guide for -g/-s/-S.
In particular, previously it was incorrectly stating that -S is an alias for --strip-all.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104888

Files:
  llvm/docs/CommandGuide/llvm-strip.rst


Index: llvm/docs/CommandGuide/llvm-strip.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-strip.rst
+++ llvm/docs/CommandGuide/llvm-strip.rst
@@ -74,7 +74,7 @@
  Remove all symbols, debug sections and relocations from the output. This option
  is equivalent to GNU :program:`strip`'s ``--strip-all`` switch.
 
-.. option:: --strip-all, -S
+.. option:: --strip-all, -s
 
  For ELF objects, remove from the output all symbols and non-alloc sections not
  within segments, except for .gnu.warning, .ARM.attribute sections and the
@@ -83,7 +83,7 @@
  For COFF objects, remove all symbols, debug sections, and relocations from the
  output.
 
-.. option:: --strip-debug, -g
+.. option:: --strip-debug, -d, -g, -S
 
  Remove all debug sections from the output.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104888.354400.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210625/7a553615/attachment.bin>


More information about the llvm-commits mailing list