summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.1
diff options
context:
space:
mode:
authorRuediger Meier2017-06-21 22:17:36 +0200
committerRuediger Meier2017-06-22 21:34:58 +0200
commit5aaa966dcd907bef0fcebabf8be06178cc7e5dce (patch)
treee85d30f1b582a02a6b6c940aa4ea2c8755b64e87 /misc-utils/whereis.1
parentlogin: add --help and --version (diff)
downloadkernel-qcow2-util-linux-5aaa966dcd907bef0fcebabf8be06178cc7e5dce.tar.gz
kernel-qcow2-util-linux-5aaa966dcd907bef0fcebabf8be06178cc7e5dce.tar.xz
kernel-qcow2-util-linux-5aaa966dcd907bef0fcebabf8be06178cc7e5dce.zip
whereis: add --help and --version
We can use errtryhelp() now and never print usage to stderr. One may improve all these "bad usage" messages. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'misc-utils/whereis.1')
-rw-r--r--misc-utils/whereis.16
1 files changed, 6 insertions, 0 deletions
diff --git a/misc-utils/whereis.1 b/misc-utils/whereis.1
index 6461f2629..0d2cbe7e7 100644
--- a/misc-utils/whereis.1
+++ b/misc-utils/whereis.1
@@ -125,6 +125,12 @@ or
.BR \-S
is specified, the option will output the hard-coded paths
that the command was able to find on the system.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display help text and exit.
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Display version information and exit.
.SH EXAMPLE
To find all files in
.I /usr/\:bin