summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-01 16:20:41 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-01 16:20:41 +0530
commit3798be8a31902a74f4c0280d0d1def8d6bb74d10 (patch)
treec722b9508338253da19468bcfff94db94b0cf259
parent28079ec7d976aef0eacd88e0090f05ad87219558 (diff)
now with colored help
-rw-r--r--src/options.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs
index 676022c..5c30573 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -23,6 +23,7 @@ impl From<ByteFormat> for LibraryByteFormat {
#[derive(Debug, StructOpt)]
#[structopt(name = "dua", about = "A tool to learn about disk usage, fast!")]
+#[structopt(raw(setting = "structopt::clap::AppSettings::ColoredHelp"))]
pub struct Args {
#[structopt(subcommand)]
pub command: Option<Command>,