From a48a457cc3ca817850118e2a2fb8b20fecdd40b8 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 30 Oct 2019 11:02:02 -0600 Subject: [PATCH] fix: Improve the organization of --help --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index ad97085..41c477c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,6 +38,11 @@ impl Default for Format { #[derive(Debug, StructOpt)] #[structopt(rename_all = "kebab-case")] +#[structopt( + setting = structopt::clap::AppSettings::UnifiedHelpMessage, + setting = structopt::clap::AppSettings::DeriveDisplayOrder, + setting = structopt::clap::AppSettings::DontCollapseArgsInUsage + )] struct Args { #[structopt(parse(from_os_str), default_value = ".")] /// Paths to check