mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-16 02:43:58 +01:00
fix: Improve the organization of --help
This commit is contained in:
1 parent
975dab8514
commit
a48a457cc3
1 file changed
+5
@@ -38,6 +38,11 @@ impl Default for Format {
|
|||||||
|
|
||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
#[structopt(rename_all = "kebab-case")]
|
#[structopt(rename_all = "kebab-case")]
|
||||||
|
#[structopt(
|
||||||
|
setting = structopt::clap::AppSettings::UnifiedHelpMessage,
|
||||||
|
setting = structopt::clap::AppSettings::DeriveDisplayOrder,
|
||||||
|
setting = structopt::clap::AppSettings::DontCollapseArgsInUsage
|
||||||
|
)]
|
||||||
struct Args {
|
struct Args {
|
||||||
#[structopt(parse(from_os_str), default_value = ".")]
|
#[structopt(parse(from_os_str), default_value = ".")]
|
||||||
/// Paths to check
|
/// Paths to check
|
||||||
|
|||||||
Reference in new issue
Block a user