aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-02-08 00:09:17 +0000
committerEd Maste <emaste@FreeBSD.org>2018-02-08 00:09:17 +0000
commit18f201e79ca409a429c5a600f47ecec71d35ecdf (patch)
treed8e1485cf5c0e62e3ef0817f0db88bcc0cf35b75 /usr.bin/clang
parentc62c1fe23e71b5182f13cd3f676fae108a057f07 (diff)
downloadsrc-18f201e79ca409a429c5a600f47ecec71d35ecdf.tar.gz
src-18f201e79ca409a429c5a600f47ecec71d35ecdf.zip
ld.lld.1: explain long options may use one or two dashes
Notes
Notes: svn path=/head/; revision=329003
Diffstat (limited to 'usr.bin/clang')
-rw-r--r--usr.bin/clang/lld/ld.lld.111
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/clang/lld/ld.lld.1 b/usr.bin/clang/lld/ld.lld.1
index fea2ea62566f..885c42bc1326 100644
--- a/usr.bin/clang/lld/ld.lld.1
+++ b/usr.bin/clang/lld/ld.lld.1
@@ -47,6 +47,17 @@ is a drop-in replacement for the GNU BFD and gold linkers.
It accepts most of the same command line arguments and linker scripts
as GNU linkers.
.Pp
+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 preceeding the option name.
+Long options beginning with
+.Cm o
+require two dashes to avoid confusion with the
+.Fl o Ar path
+option.
+.Pp
These options are available:
.Bl -tag -width indent
.It Fl -allow-multiple-definition