summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2019-09-03 17:58:30 +0000
committerEd Maste <emaste@freebsd.org>2019-09-03 17:58:30 +0000
commit5289bbe4d4c73a2dc3260149ae05b828cd7e94fd (patch)
tree5fc61e23fbbe95cc22a7aacad5653920a2b178d7
parent174e083345415f0c114546001d20baa96dca2445 (diff)
downloadbcm5719-llvm-5289bbe4d4c73a2dc3260149ae05b828cd7e94fd.tar.gz
bcm5719-llvm-5289bbe4d4c73a2dc3260149ae05b828cd7e94fd.zip
ld.lld.1: explain long options may use one or two dashes
Obtained from FreeBSD r329003 llvm-svn: 370800
-rw-r--r--lld/docs/ld.lld.111
1 files changed, 11 insertions, 0 deletions
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index 91bcae3adf5..74a5140237a 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -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.
OpenPOWER on IntegriCloud