mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
du: Fix a typo in the --exclude-from
option
This commit is contained in:
parent
6b270f7d01
commit
c1ab29b73c
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ $ du [files...]
|
|||
* `-t size`, `--threshold size`: Exclude entries smaller than size if positive, or entries greater than size if negative
|
||||
* `--time time-type`: Show time of time time-type of any file in the directory, or any of its subdirectories. Available choices: mtime, modification, ctime, status, use, atime, access
|
||||
* `--exclude pattern`: Exclude files that match pattern
|
||||
* `-X file, --exclude_from`: Exclude files that match any pattern in file
|
||||
* `-X file, --exclude-from`: Exclude files that match any pattern in file
|
||||
|
||||
## Arguments
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ ErrorOr<void> parse_args(Main::Arguments arguments, Vector<String>& files, DuOpt
|
|||
args_parser.add_option(du_option.threshold, "Exclude entries smaller than size if positive, or entries greater than size if negative", "threshold", 't', "size");
|
||||
args_parser.add_option(move(time_option));
|
||||
args_parser.add_option(pattern, "Exclude files that match pattern", "exclude", 0, "pattern");
|
||||
args_parser.add_option(exclude_from, "Exclude files that match any pattern in file", "exclude_from", 'X', "file");
|
||||
args_parser.add_option(exclude_from, "Exclude files that match any pattern in file", "exclude-from", 'X', "file");
|
||||
args_parser.add_option(du_option.block_size, "Outputs file sizes as the required blocks with the given size (defaults to 1024)", "block-size", 'B', "size");
|
||||
args_parser.add_option(move(block_size_1k_option));
|
||||
args_parser.add_positional_argument(files_to_process, "File to process", "file", Core::ArgsParser::Required::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue