summaryrefslogtreecommitdiffstats
path: root/usr.bin/getopt
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
committercharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
commita07fb1cc07255490c7adbf8b4830307c3b6ae34d (patch)
tree1070287b1054de985087e8287086ae5d4c5ed090 /usr.bin/getopt
parente0fe548473d7c5fb4bd311d674b5af8d589f6c96 (diff)
downloadFreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.zip
FreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.tar.gz
Use `The .Nm utility'
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r--usr.bin/getopt/getopt.115
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/getopt/getopt.1 b/usr.bin/getopt/getopt.1
index 9c1d60a..0fc84c4 100644
--- a/usr.bin/getopt/getopt.1
+++ b/usr.bin/getopt/getopt.1
@@ -10,8 +10,9 @@
.Nm args=\`getopt Ar optstring $*\`
; errcode=$?; set \-\- $args
.Sh DESCRIPTION
-.Nm Getopt
-is used to break up options in command lines for easy parsing by
+The
+.Nm
+utility is used to break up options in command lines for easy parsing by
shell procedures, and to check for legal options.
.Ar Optstring
is a string of recognized option letters (see
@@ -22,8 +23,9 @@ separated from it by white space.
The special option
.Ql \-\-
is used to delimit the end of the options.
-.Nm Getopt
-will place
+The
+.Nm
+utility will place
.Ql \-\-
in the arguments at the end of the options,
or recognize it if used explicitly.
@@ -87,8 +89,9 @@ cmd \-a \-oarg \-\- file file
.Xr sh 1 ,
.Xr getopt 3
.Sh DIAGNOSTICS
-.Nm Getopt
-prints an error message on the standard error output and exits with
+The
+.Nm
+utility prints an error message on the standard error output and exits with
status > 0 when it encounters an option letter not included in
.Ar optstring .
.Sh HISTORY
OpenPOWER on IntegriCloud