mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
Update documentation of --batch-size feature
This commit is contained in:
parent
f52dec11a4
commit
8b96a1e99c
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
- The `-u` flag was changed to be equivalent to `-HI` (previously, a single `-u` was only equivalent to `-I`). Additional `-u` flags are still allowed, but ignored. See #840 and #986 (@jacksontheel)
|
|
||||||
- Directories are now printed with an additional path separator at the end: `foo/bar/`, see #436 and #812 (@yyogo)
|
- Directories are now printed with an additional path separator at the end: `foo/bar/`, see #436 and #812 (@yyogo)
|
||||||
|
- The `-u` flag was changed to be equivalent to `-HI` (previously, a single `-u` was only equivalent to `-I`). Additional `-u` flags are still allowed, but ignored. See #840 and #986 (@jacksontheel)
|
||||||
|
|
||||||
## Other
|
## Other
|
||||||
|
|
||||||
|
|
3
doc/fd.1
vendored
3
doc/fd.1
vendored
|
@ -416,7 +416,8 @@ Examples:
|
||||||
.BI "\-\-batch-size " size
|
.BI "\-\-batch-size " size
|
||||||
Maximum number of arguments to pass to the command given with -X. If the number of results is
|
Maximum number of arguments to pass to the command given with -X. If the number of results is
|
||||||
greater than the given size, the command given with -X is run again with remaining arguments. A
|
greater than the given size, the command given with -X is run again with remaining arguments. A
|
||||||
batch size of zero means there is no limit.
|
batch size of zero means there is no limit (default), but note that batching might still happen
|
||||||
|
due to OS restrictions on the maximum length of command lines.
|
||||||
.SH PATTERN SYNTAX
|
.SH PATTERN SYNTAX
|
||||||
The regular expression syntax used by fd is documented here:
|
The regular expression syntax used by fd is documented here:
|
||||||
|
|
||||||
|
|
|
@ -453,7 +453,9 @@ pub fn build_app() -> Command<'static> {
|
||||||
"Maximum number of arguments to pass to the command given with -X. \
|
"Maximum number of arguments to pass to the command given with -X. \
|
||||||
If the number of results is greater than the given size, \
|
If the number of results is greater than the given size, \
|
||||||
the command given with -X is run again with remaining arguments. \
|
the command given with -X is run again with remaining arguments. \
|
||||||
A batch size of zero means there is no limit.",
|
A batch size of zero means there is no limit (default), but note \
|
||||||
|
that batching might still happen due to OS restrictions on the \
|
||||||
|
maximum length of command lines.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
|
Loading…
Reference in a new issue