Skip to content

Commit 0d8caf3

Browse files
authored
Enable the wrap_help feature of clap (#1746)
This makes the `--help` and `-h` messages much more readable on terminals that don't happen to be hundreds of characters wide.
1 parent bf1ed5d commit 0d8caf3

File tree

2 files changed

+87
-10
lines changed

2 files changed

+87
-10
lines changed

Cargo.lock

Lines changed: 86 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ wit-smith = { version = "0.216.0", path = "crates/wit-smith" }
115115
anyhow = { workspace = true }
116116
env_logger = { workspace = true }
117117
log = { workspace = true }
118-
clap = { workspace = true }
118+
clap = { workspace = true, features = ['wrap_help'] }
119119
clap_complete = { workspace = true, optional = true }
120120
tempfile = "3.2.0"
121121
wat = { workspace = true, features = ['dwarf'] }

0 commit comments

Comments
 (0)