diff --git a/CHANGELOG.md b/CHANGELOG.md index e9adead..6aa1be6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased - +### Changed +- Capped help output (`-h`/`--help`) width at 120 characters max --- ## v0.3.7 - 2021-09-25 diff --git a/Cargo.lock b/Cargo.lock index 693dfa4..c3bd0f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "arrayvec" version = "0.5.2" diff --git a/src/parameters.rs b/src/parameters.rs index 4c27491..f9b96bc 100644 --- a/src/parameters.rs +++ b/src/parameters.rs @@ -44,7 +44,8 @@ pub enum OutputFormat { This program is free software: you can redistribute it and/or modify \ it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 \ of the License, or (at your option) any later version.", - setting(AppSettings::ColoredHelp) + setting(AppSettings::ColoredHelp), + max_term_width = 120 )] pub struct Parameters { // NOTE: clap's comma-separated argument parser makes it impossible to specify extensions with commas in their name -