[lld] r370800 - ld.lld.1: explain long options may use one or two dashes
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 10:58:30 PDT 2019
Author: emaste
Date: Tue Sep 3 10:58:30 2019
New Revision: 370800
URL: http://llvm.org/viewvc/llvm-project?rev=370800&view=rev
Log:
ld.lld.1: explain long options may use one or two dashes
Obtained from FreeBSD r329003
Modified:
lld/trunk/docs/ld.lld.1
Modified: lld/trunk/docs/ld.lld.1
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/ld.lld.1?rev=370800&r1=370799&r2=370800&view=diff
==============================================================================
--- lld/trunk/docs/ld.lld.1 (original)
+++ lld/trunk/docs/ld.lld.1 Tue Sep 3 10:58:30 2019
@@ -40,6 +40,17 @@ was built, so you can always use
.Nm
as a native linker as well as a cross linker.
.Sh OPTIONS
+Many options have both a single-letter and long form.
+When using the long form options other than those beginning with the
+letter
+.Cm o
+may be specified using either one or two dashes preceding the option name.
+Long options beginning with
+.Cm o
+require two dashes to avoid confusion with the
+.Fl o Ar path
+option.
+.Pp
.Bl -tag -width indent
.It Fl -allow-multiple-definition
Do not error if a symbol is defined multiple times.
More information about the llvm-commits
mailing list