From: Matthew Vernon Date: Tue, 6 Nov 2018 11:49:21 +0000 (+0000) Subject: util-linux: getopt(1) should point to where examples are on a Debian system X-Git-Tag: archive/raspbian/2.40.2-8+rpi1~1^2^2^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d57698a0812f3dd5fe23471681e430545873e8f0;p=util-linux.git util-linux: getopt(1) should point to where examples are on a Debian system Debian BTS #913049 Gbp-Pq: Topic debian Gbp-Pq: Name man-getopt-examples.patch --- diff --git a/misc-utils/getopt.1 b/misc-utils/getopt.1 index a9fc54c..1a64a1a 100644 --- a/misc-utils/getopt.1 +++ b/misc-utils/getopt.1 @@ -155,7 +155,7 @@ In compatibility mode, leading \*(Aq\fB\-\fP\*(Aq and \*(Aq\fB+\fP\*(Aq characte \fBgetopt\fP returns error code \fB0\fP for successful parsing, \fB1\fP if \fBgetopt\fP(3) returns errors, \fB2\fP if it does not understand its own parameters, \fB3\fP if an internal error occurs like out\-of\-memory, and \fB4\fP if it is called with \fB\-T\fP. .SH "EXAMPLES" .sp -Example scripts for (ba)sh and (t)csh are provided with the \fBgetopt\fP(1) distribution, and are installed in \fI/usr/share/doc/util\-linux\fP directory. +Example scripts for (ba)sh and (t)csh are provided with the \fBgetopt\fP(1) distribution, and are installed in \fI/usr/share/doc/util\-linux/examples/\fP directory. .SH "ENVIRONMENT" .sp \fBPOSIXLY_CORRECT\fP