Skip to content

Commit

Permalink
Enable the wrap_help feature of clap (#1746)
Browse files Browse the repository at this point in the history
This makes the `--help` and `-h` messages much more readable on
terminals that don't happen to be hundreds of characters wide.
  • Loading branch information
alexcrichton authored Aug 29, 2024
1 parent bf1ed5d commit 0d8caf3
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 10 deletions.
95 changes: 86 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ wit-smith = { version = "0.216.0", path = "crates/wit-smith" }
anyhow = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
clap = { workspace = true }
clap = { workspace = true, features = ['wrap_help'] }
clap_complete = { workspace = true, optional = true }
tempfile = "3.2.0"
wat = { workspace = true, features = ['dwarf'] }
Expand Down

0 comments on commit 0d8caf3

Please sign in to comment.