summaryrefslogtreecommitdiff
path: root/src/roff/nroff/nroff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/nroff/nroff.sh')
-rw-r--r--src/roff/nroff/nroff.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
index 4f15e464..0e9eebdd 100644
--- a/src/roff/nroff/nroff.sh
+++ b/src/roff/nroff/nroff.sh
@@ -66,9 +66,12 @@ for i
# Solaris 2.2 `man' uses -u0; ignore it,
# since `less' and `more' can use the emboldening info.
;;
- -v)
+ -v | --version)
echo "GNU nroff (groff) version @VERSION@"
exit 0 ;;
+ --help)
+ echo "usage: nroff [-h] [-i] [-mNAME] [-nNUM] [-oLIST] [-rCN] [-Tname] [FILE...]"
+ exit 0 ;;
--)
shift
break ;;