summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-19 11:24:51 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-19 12:19:47 +0100
commite6541f1c2991fb00ea6cea67783529055dbb9634 (patch)
tree590668e97e09ee936417203c29a95d78a80b962c
parentc4f55892fc75a5c23abe97e5acf42c6a14f5574a (diff)
sq: Enable wrapping of help texts.
-rw-r--r--Cargo.lock2
-rw-r--r--sq/Cargo.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4862e19a..253c1f0b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -367,6 +367,7 @@ dependencies = [
"atty",
"bitflags",
"strsim 0.8.0",
+ "term_size",
"textwrap",
"unicode-width",
"vec_map",
@@ -2175,6 +2176,7 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
+ "term_size",
"unicode-width",
]
diff --git a/sq/Cargo.toml b/sq/Cargo.toml
index c6e85dd7..bda5481f 100644
--- a/sq/Cargo.toml
+++ b/sq/Cargo.toml
@@ -28,7 +28,7 @@ sequoia-autocrypt = { path = "../autocrypt", version = "0.22", default-features
sequoia-net = { path = "../net", version = "0.22", default-features = false, optional = true }
anyhow = "1.0.18"
chrono = "0.4.10"
-clap = "2.33"
+clap = { version = "2.33", features = ["wrap_help"] }
itertools = "0.9"
tempfile = "3.1"
term_size = "0.3"