diff --git a/README.md b/README.md index 117b42a..bc6ee9c 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Options: [default: 4] -w, --width - In case you know how many columns are needed, this paramter will calcualte the scale factor for you. + Width expressed as text-columns, this parameter will calculate the scale factor for you. Overrides `scale` parameter even when specified. [default: disabled] diff --git a/src/ascii_processor.rs b/src/ascii_processor.rs index d8df621..2a88560 100644 --- a/src/ascii_processor.rs +++ b/src/ascii_processor.rs @@ -63,8 +63,8 @@ fn get_character( } /// -/// Determine which scale to use in presence of `width` parameters, -/// otherwise uses regular `scale` parameter as default +/// Determine how much scale to use in presence of `width` parameters, +/// otherwise returns regular `scale` parameter per default behaviour /// fn calculate_scale(args: &Arguments, dimensions: (u32, u32)) -> u32 { args.width.map_or_else(|| args.scale, |v| dimensions.0 / v)