Skip to content

Commit

Permalink
clap: generate --help
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Feb 27, 2023
1 parent 256044a commit 53dc47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ wayrs-protocols = { version = "0.3", features = ["wlr-foreign-toplevel-managemen
[dependencies.clap]
version = "4.0"
default-features = false
features = ["std", "derive"]
features = ["std", "derive", "help"]

[dependencies.serde]
version = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct CliArgs {
#[clap(long = "never-pause")]
never_pause: bool,
/// Do not send the init sequence
#[clap(long = "no-init")]
#[clap(hide = true, long = "no-init")]
no_init: bool,
/// The maximum number of blocking threads spawned by tokio
#[clap(long = "threads", short = 'j', default_value = "2")]
Expand Down

0 comments on commit 53dc47b

Please sign in to comment.