summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-09-15 14:20:25 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-09-15 14:20:25 -0400
commit1b1c5c0c7f2fb49c43194d84f4bcc25852372858 (patch)
treefbc62ce601194121f492480d893cd2e9d14b2fc2
parentba173f371f4d300976ba15d93f67661f51b7cb42 (diff)
downloadbfs-1b1c5c0c7f2fb49c43194d84f4bcc25852372858.tar.xz
Fix the order of -fprintf FILE FORMAT in the docs
-rw-r--r--bfs.12
-rw-r--r--parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bfs.1 b/bfs.1
index 36089f8..a132214 100644
--- a/bfs.1
+++ b/bfs.1
@@ -634,7 +634,7 @@ Exit immediately with the given status (0 if unspecified).
.br
\fB\-fprint0 \fIFILE\fR
.br
-\fB\-fprintf \fIFORMAT FILE\fR
+\fB\-fprintf \fIFILE FORMAT\fR
.RS
Like
.BR \-ls / \-print / \-print0 / \-printf ,
diff --git a/parse.c b/parse.c
index 2a189e3..9930c8b 100644
--- a/parse.c
+++ b/parse.c
@@ -2955,7 +2955,7 @@ static struct expr *parse_help(struct parser_state *state, int arg1, int arg2) {
cfprintf(cout, " ${blu}-fls${rs} ${bld}FILE${rs}\n");
cfprintf(cout, " ${blu}-fprint${rs} ${bld}FILE${rs}\n");
cfprintf(cout, " ${blu}-fprint0${rs} ${bld}FILE${rs}\n");
- cfprintf(cout, " ${blu}-fprintf${rs} ${bld}FORMAT${rs} ${bld}FILE${rs}\n");
+ cfprintf(cout, " ${blu}-fprintf${rs} ${bld}FILE${rs} ${bld}FORMAT${rs}\n");
cfprintf(cout, " Like ${blu}-ls${rs}/${blu}-print${rs}/${blu}-print0${rs}/${blu}-printf${rs}, but write to ${bld}FILE${rs} instead of standard\n"
" output\n");
cfprintf(cout, " ${blu}-ls${rs}\n");