1
0
Fork 0
mirror of synced 2024-05-04 12:33:11 +12:00

CLI: rewrite the message for minimal file size (#807)

This commit is contained in:
Alexis Lefebvre 2022-08-17 16:57:57 +02:00 committed by GitHub
parent ae87489f3b
commit 95d1d73a29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ pub enum Commands {
minimal_file_size: u64,
#[clap(short = 'i', long, parse(try_from_str = parse_maximal_file_size), default_value = "18446744073709551615", help = "Maximum size in bytes", long_help = "Maximum size of checked files in bytes, assigning lower value may speed up searching")]
maximal_file_size: u64,
#[clap(short = 'c', long, parse(try_from_str = parse_minimal_file_size), default_value = "257144", help = "Minimum cached file size in bytes", long_help = "Minimum size of cached files in bytes, assigning bigger value may speed up will cause that lower amount of files will be cached, but loading of cache will be faster")]
#[clap(short = 'c', long, parse(try_from_str = parse_minimal_file_size), default_value = "257144", help = "Minimum cached file size in bytes", long_help = "Minimum size of cached files in bytes, assigning bigger value may speed up the scan but loading the cache will be slower, assigning smaller value may slow down the scan and some files may need to be hashed again but loading the cache will be faster")]
minimal_cached_file_size: u64,
#[clap(flatten)]
allowed_extensions: AllowedExtensions,