summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-08-15 14:35:55 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-08-15 14:37:45 -0400
commit97edb42d2b4e5b15e783d0bb43f2024df0f93888 (patch)
treed0257ffcf8bb5dd8f0b49cae537ec21df7f67807
parent5ee67902d7c635ac7df4b4e6de3c4af3b93a4b89 (diff)
downloadbfs-97edb42d2b4e5b15e783d0bb43f2024df0f93888.tar.xz
docs/bfs.1: Document that -help/-version exit immediately
-rw-r--r--docs/bfs.120
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/bfs.1 b/docs/bfs.1
index 49778bd..c7a4373 100644
--- a/docs/bfs.1
+++ b/docs/bfs.1
@@ -251,6 +251,20 @@ or
.B \-mindepth
for example.
Exclusions are always applied before other expressions, so it may be least confusing to put them first on the command line.
+.PP
+.B \-help
+.br
+.B \-\-help
+.RS
+Print usage information, and exit immediately (without parsing the rest of the command line or processing any files).
+.RE
+.PP
+.B \-version
+.br
+.B \-\-version
+.RS
+Print version information, and exit immediately.
+.RE
.SH OPTIONS
.PP
.B \-color
@@ -738,12 +752,6 @@ instead in that case.
.TP
.B \-quit
Quit immediately.
-.TP
-.B \-version
-Print version information.
-.TP
-.B \-help
-Print usage information.
.SH ENVIRONMENT
Certain environment variables affect the behavior of
.BR bfs .