Skip to content

Commit

Permalink
fix: Improve the organization of --help
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Oct 30, 2019
1 parent 975dab8 commit a48a457
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.rs
Expand Up @@ -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
Expand Down

0 comments on commit a48a457

Please sign in to comment.