Skip to content

Commit 4dfbaf5

Browse files
committed
Let Clap wrap help texts automatically
This makes the `rustup help show` and other help texts much more readable on my terminal.
1 parent 8f6b536 commit 4dfbaf5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Cargo.lock

Lines changed: 12 additions & 0 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
@@ -29,7 +29,7 @@ no-self-update = []
2929
anyhow = "1.0.31"
3030
cfg-if = "1.0"
3131
chrono = "0.4"
32-
clap = "2"
32+
clap = {version = "2", features = ["wrap_help"]}
3333
download = {path = "download", default-features = false}
3434
effective-limits = "0.5.3"
3535
enum-map = "2.0.3"

0 commit comments

Comments
 (0)