diff options
author | Ruediger Meier | 2017-06-21 22:17:36 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-22 21:34:58 +0200 |
commit | 5aaa966dcd907bef0fcebabf8be06178cc7e5dce (patch) | |
tree | e85d30f1b582a02a6b6c940aa4ea2c8755b64e87 /misc-utils/whereis.1 | |
parent | login: add --help and --version (diff) | |
download | kernel-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.1 | 6 |
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 |