capped help output to 120 chars max width

This commit is contained in:
Lynne Megido 2021-09-29 23:52:20 +10:00
parent eb3e650361
commit 25d8ed64ae
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
3 changed files with 6 additions and 2 deletions

View file

@ -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). [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased ## Unreleased
### Changed
- Capped help output (`-h`/`--help`) width at 120 characters max
--- ---
## v0.3.7 - 2021-09-25 ## v0.3.7 - 2021-09-25

2
Cargo.lock generated
View file

@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3
[[package]] [[package]]
name = "arrayvec" name = "arrayvec"
version = "0.5.2" version = "0.5.2"

View file

@ -44,7 +44,8 @@ pub enum OutputFormat {
This program is free software: you can redistribute it and/or modify \ 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 \ 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.", of the License, or (at your option) any later version.",
setting(AppSettings::ColoredHelp) setting(AppSettings::ColoredHelp),
max_term_width = 120
)] )]
pub struct Parameters { pub struct Parameters {
// NOTE: clap's comma-separated argument parser makes it impossible to specify extensions with commas in their name - // NOTE: clap's comma-separated argument parser makes it impossible to specify extensions with commas in their name -