summaryrefslogtreecommitdiff
path: root/src/file_opts.h
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-10-23 14:22:53 +0000
committerChristos Zoulas <christos@zoulas.com>2022-10-23 14:22:53 +0000
commitae5c1ff8df0d6e00cbf5e31875d777edbb88d60a (patch)
tree8625f4da536d96d6ad437a14c708e605430fee02 /src/file_opts.h
parentb865fa09bcf241408c8fdb01275089e029ca24a1 (diff)
downloadfile-git-ae5c1ff8df0d6e00cbf5e31875d777edbb88d60a.tar.gz
PR/397: dadv: Restore the ability of processing filenames from stdin
immediately, using the -I flag.
Diffstat (limited to 'src/file_opts.h')
-rw-r--r--src/file_opts.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/file_opts.h b/src/file_opts.h
index 6d137441..88813856 100644
--- a/src/file_opts.h
+++ b/src/file_opts.h
@@ -37,7 +37,7 @@ OPT('e', "exclude", 1, 0,
" performed for file. Valid tests are:\n"
" %e\n")
OPT_LONGONLY("exclude-quiet", 1, 0,
- " TEST like exclude, but ignore unknown tests\n", OPT_EXCLUDE_QUIET)
+ " TEST like exclude, but ignore unknown tests\n", OPT_EXCLUDE_QUIET)
OPT('f', "files-from", 1, 0,
" FILE read the filenames to be examined from FILE\n")
OPT('F', "separator", 1, 0,
@@ -45,6 +45,10 @@ OPT('F', "separator", 1, 0,
OPT('i', "mime", 0, 0,
" output MIME type strings (--mime-type and\n"
" --mime-encoding)\n")
+OPT('I', "immediate", 0, 0,
+ " when reading filenames from stdin, process them\n"
+ " immediately, don't collect them to compute their\n"
+ " maximum name length\n")
OPT_LONGONLY("apple", 0, 0,
" output the Apple CREATOR/TYPE\n", OPT_APPLE)
OPT_LONGONLY("extension", 0, 0,