diff options
author | sharkdp <davidpeter@web.de> | 2020-06-08 23:19:56 +0200 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2020-06-08 23:19:56 +0200 |
commit | a7892881f3ee27637a6ff5f7b13290983d280dbd (patch) | |
tree | c8c97a0a81b75e6abe12bca59870a98ffd267178 | |
parent | 921a1389625a84ebad5ec49fd64fdae90b602d0e (diff) |
Wrap help text at 90 characters
-rw-r--r-- | Cargo.lock | 7 | ||||
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | src/bin/hexyl.rs | 1 |
3 files changed, 2 insertions, 7 deletions
@@ -43,7 +43,6 @@ dependencies = [ "term_size 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -98,11 +97,6 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] name = "winapi" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -133,7 +127,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum term_size 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9" "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" "checksum unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479" -"checksum vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" @@ -17,6 +17,7 @@ libc = "0.2" [dependencies.clap] version = "2" +default-features = false features = ["suggestions", "color", "wrap_help"] [profile.release] diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index a9da17c..eb43151 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -17,6 +17,7 @@ fn run() -> Result<(), Box<dyn std::error::Error>> { .setting(AppSettings::ColoredHelp) .setting(AppSettings::DeriveDisplayOrder) .setting(AppSettings::UnifiedHelpMessage) + .max_term_width(90) .version(crate_version!()) .about(crate_description!()) .arg( |