Skip to content

Commit d867824

Browse files
author
Alexander Shaposhnikov
committed
[docs][llvm-strip] Fix documentation for -s/-S
Fix the command line guide for -g/-s/-S. In particular, previously it was incorrectly stating that -S is an alias for --strip-all. Differential revision: https://reviews.llvm.org/D104888
1 parent 7a11235 commit d867824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/CommandGuide/llvm-strip.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ multiple file formats.
7474
Remove all symbols, debug sections and relocations from the output. This option
7575
is equivalent to GNU :program:`strip`'s ``--strip-all`` switch.
7676

77-
.. option:: --strip-all, -S
77+
.. option:: --strip-all, -s
7878

7979
For ELF objects, remove from the output all symbols and non-alloc sections not
8080
within segments, except for .gnu.warning, .ARM.attribute sections and the
@@ -83,7 +83,7 @@ multiple file formats.
8383
For COFF objects, remove all symbols, debug sections, and relocations from the
8484
output.
8585

86-
.. option:: --strip-debug, -g
86+
.. option:: --strip-debug, -d, -g, -S
8787

8888
Remove all debug sections from the output.
8989

0 commit comments

Comments
 (0)