1
0
Fork 0
mirror of synced 2024-06-02 10:35:02 +12:00

CLI: rewrite the message for minimal file size

This commit is contained in:
Alexis Lefebvre 2022-08-07 16:36:43 +02:00
parent ae87489f3b
commit f99031c913
No known key found for this signature in database
GPG key ID: 3DCE39C7795C652A

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,