]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/whereis.1
fincore: remove unused variable [clang scan]
[thirdparty/util-linux.git] / misc-utils / whereis.1
index 0dccc8d9f6ba025c753e87fa5c7ebb892d8d8a7d..a69395907d43e3566f33739a5f940e43221c707c 100644 (file)
@@ -113,7 +113,7 @@ be used when any of the
 .BR \-B ,
 .BR \-M ,
 or
-.BR \-S
+.B \-S
 options is used.
 .IP "\fB\-l"
 Output the list of effective lookup paths that
@@ -122,17 +122,23 @@ is using.  When none of
 .BR \-B ,
 .BR \-M ,
 or
-.BR \-S
+.B \-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
-.B /usr/\:bin
+.I /usr/\:bin
 which are not documented
 in
-.B /usr/\:man/\:man1
+.I /usr/\:man/\:man1
 or have no source in
-.BR /usr/\:src :
+.IR /usr/\:src :
 .IP
 .B cd /usr/bin
 .br
@@ -141,19 +147,19 @@ or have no source in
 By default
 .B whereis
 tries to find files from hard-coded paths, which are defined with glob
-patterns.  The command attempst to use contents of
+patterns.  The command attempts to use the contents of
 .B $PATH
 and
 .B $MANPATH
 environment variables as default search path.  The easiest way to know
-what paths are in use is to add
+what paths are in use is to add the
 .B \-l
 listing option.  Effects of the
 .BR \-B ,
 .BR \-M ,
 and
-.BR \-S
-are display with
+.B \-S
+are displayed with
 .BR \-l .
 .PP
 .SH ENVIRONMENT
@@ -161,6 +167,6 @@ are display with
 enables debug output.
 .SH AVAILABILITY
 The whereis command is part of the util-linux package and is available from
-.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
 Linux Kernel Archive
 .UE .