diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs index 6d8f731..992f823 100644 --- a/src/options.rs +++ b/src/options.rs @@ -49,7 +49,7 @@ pub struct Args { /// GiB - only gibibytes /// MB - only megabytes /// MiB - only mebibytes - #[structopt(short = "f", long, possible_values(&ByteFormat::variants()))] + #[structopt(short = "f", long, case_insensitive = true, possible_values(&ByteFormat::variants()))] pub format: Option<ByteFormat>, /// Display apparent size instead of disk usage. |