summaryrefslogtreecommitdiffstats
path: root/contrib/groff
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-11-02 07:27:40 +0000
committerru <ru@FreeBSD.org>2003-11-02 07:27:40 +0000
commitba6fe9a715ae2138dd1e0152bc9ecc0dfb801c23 (patch)
tree52d26b25cdb655370af65cde403187612446021e /contrib/groff
parent99d648cb98d550b676068c05130023319b35841f (diff)
downloadFreeBSD-src-ba6fe9a715ae2138dd1e0152bc9ecc0dfb801c23.zip
FreeBSD-src-ba6fe9a715ae2138dd1e0152bc9ecc0dfb801c23.tar.gz
MFV: The -d option.
Diffstat (limited to 'contrib/groff')
-rw-r--r--contrib/groff/src/roff/nroff/nroff.man2
-rwxr-xr-xcontrib/groff/src/roff/nroff/nroff.sh6
2 files changed, 5 insertions, 3 deletions
diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man
index 9af7a50..4b81a78 100644
--- a/contrib/groff/src/roff/nroff/nroff.man
+++ b/contrib/groff/src/roff/nroff/nroff.man
@@ -34,6 +34,7 @@ the original English.
.el .RB "[\ " "\\$1" "\ ]"
..
.OP \-CchipStUv
+.OP \-d cs
.OP \-m name
.OP \-n num
.OP \-o list
@@ -89,6 +90,7 @@ options
.B \-c
(using the old output scheme instead of SGR escape sequences).
The
+.BR \-d ,
.BR \-C ,
.BR \-i ,
.BR \-m ,
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh
index 3127593..e8feb04 100755
--- a/contrib/groff/src/roff/nroff/nroff.sh
+++ b/contrib/groff/src/roff/nroff/nroff.sh
@@ -54,10 +54,10 @@ for i
-[eq] | -s*)
# ignore these options
;;
- -[mrnoT])
+ -[dmrnoT])
echo "$prog: option $1 requires an argument" >&2
exit 1 ;;
- -[iptSUC] | -[mrno]*)
+ -[iptSUC] | -[dmrno]*)
opts="$opts $1" ;;
-Tascii | -Tlatin1 | -Tkoi8-r | -Tutf8 | -Tcp1047)
T=$1 ;;
@@ -72,7 +72,7 @@ for i
echo "GNU nroff (groff) version @VERSION@"
exit 0 ;;
--help)
- echo "usage: nroff [-CchipStUv] [-mNAME] [-nNUM] [-oLIST] [-rCN] [-Tname] [FILE...]"
+ echo "usage: nroff [-CchipStUv] [-dCS] [-mNAME] [-nNUM] [-oLIST] [-rCN] [-Tname] [FILE...]"
exit 0 ;;
--)
shift
OpenPOWER on IntegriCloud