summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 13:35:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-01 13:35:30 +0000
commit1229fdd9d84784744b71813ed8b0845b20d4f2ee (patch)
tree910fe16abd594a977f7582d13da64db5dab06b4c /mdoc.7
parent47413dce678dda2ae975720bf472a4a00ecde62a (diff)
downloadmandoc-1229fdd9d84784744b71813ed8b0845b20d4f2ee.tar.gz
Documented `Fl' in mdoc.7.
Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.722
1 files changed, 22 insertions, 0 deletions
diff --git a/mdoc.7 b/mdoc.7
index 89481df1..7ee2b70e 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1596,6 +1596,22 @@ is provided.
.Ss \&Fc
.Ss \&Fd
.Ss \&Fl
+Command-line flag. Used when listing arguments to command-line
+utilities. Prints a fixed-width hyphen
+.Sq \-
+before each delimited argument. If no arguments are provided, a hyphen
+is still printed.
+.Pp
+Examples:
+.Bd -literal -offset indent
+\&.Fl a b c
+\&.Fl
+\&.Op Fl o Ns Ar file
+.Ed
+.Pp
+See also
+.Sx \&Cm .
+.
.Ss \&Fn
.Ss \&Fo
.Ss \&Fr
@@ -1830,6 +1846,12 @@ file re-write
.Pp
.Bl -dash -compact
.It
+Historic
+.Xr groff 1
+does not print a dash for empty
+.Sx \&Fl
+arguments. This behaviour has been discontinued.
+.It
.Xr groff 1
behaves strangely (even between versions) when specifying
.Sq \ef