Browse Source

capped help output to 120 chars max width

master
Lynne Megido 2 months ago
parent
commit
25d8ed64ae
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
  1. 3
      CHANGELOG.md
  2. 2
      Cargo.lock
  3. 3
      src/parameters.rs

3
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

2
Cargo.lock generated

@ -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"

3
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 -

Loading…
Cancel
Save