diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs index dc9a355..d8167c5 100644 --- a/src/options.rs +++ b/src/options.rs @@ -51,8 +51,9 @@ impl From<ByteFormat> for LibraryByteFormat { } #[derive(Debug, Clap)] -#[clap(name = "dua", about = "A tool to learn about disk usage, fast!")] +#[clap(name = "dua", about = "A tool to learn about disk usage, fast!", version = clap::crate_version!())] #[clap(setting = clap::AppSettings::ColoredHelp)] +#[clap(setting = clap::AppSettings::GlobalVersion)] #[clap(override_usage = "dua [FLAGS] [OPTIONS] [SUBCOMMAND] [input]...")] pub struct Args { #[clap(subcommand)] |