core: wrap long help texts

This commit is contained in:
Matthias Schiffer 2024-01-04 12:36:27 +01:00
parent fb361145eb
commit 6da921cca3
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
3 changed files with 65 additions and 6 deletions

View file

@ -32,7 +32,11 @@ const VERSION: &str = git_version!(
/// Command line arguments for minedmap CLI
#[derive(Debug, Parser)]
#[command(about, version = VERSION.strip_prefix("v").unwrap())]
#[command(
about,
version = VERSION.strip_prefix("v").unwrap(),
max_term_width = 100,
)]
pub struct Args {
/// Number of parallel threads to use for processing
///