Add wrap_help feature to clap

This commit is contained in:
QuarticCat
2021-06-05 20:39:59 +08:00
parent 1b3d0b2724
commit 15a867636f
2 changed files with 17 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ categories = ["command-line-utilities"]
license = "Apache-2.0"
[badges]
travis-ci = {repository = "https://travis-ci.org/bootandy/dust"}
travis-ci = { repository = "https://travis-ci.org/bootandy/dust" }
[[bin]]
name = "dust"
@@ -22,14 +22,14 @@ path = "src/main.rs"
[dependencies]
ansi_term = "0.12"
clap = "=2.33"
clap = { version = "=2.33", features = ["wrap_help"] }
lscolors = "0.7"
num_cpus = "1"
terminal_size = "0.1"
unicode-width = "0.1"
ignore="0.4"
ignore = "0.4"
crossbeam-channel = "0.4"
walkdir="2.3"
walkdir = "2.3"
thousands = "0.2"
stfu8 = "0.2"
@@ -37,10 +37,9 @@ stfu8 = "0.2"
winapi-util = "0.1"
[dev-dependencies]
assert_cmd ="1"
assert_cmd = "1"
tempfile = "=3"
[[test]]
name = "integration"
path = "tests/tests.rs"