diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-11-15 11:51:58 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-11-15 11:51:58 +0800 |
commit | 018b00db339f9772922007e293567231164b330b (patch) | |
tree | e5e0294af69385693b90f6ebe2356404f9f059f6 | |
parent | 5782c4ff99b70ea101ed2f36711a456fd4e4e37b (diff) |
Custom usage to fix #71
-rw-r--r-- | src/options.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index d62c199..9d8ab76 100644 --- a/src/options.rs +++ b/src/options.rs @@ -53,6 +53,7 @@ impl From<ByteFormat> for LibraryByteFormat { #[derive(Debug, Clap)] #[clap(name = "dua", about = "A tool to learn about disk usage, fast!")] #[clap(setting = clap::AppSettings::ColoredHelp)] +#[clap(override_usage = "dua [FLAGS] [OPTIONS] [SUBCOMMAND] [input]...")] pub struct Args { #[clap(subcommand)] pub command: Option<Command>, |