Skip to content

Commit 3c5df3e

Browse files
committed
Removed underscore from aspect ratio name
1 parent e764272 commit 3c5df3e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/command_line_interface.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ pub struct Cli {
5050
/// The number of pixels along the y-axis of the image
5151
pub pixels: NonZeroUsize,
5252

53-
#[arg(short, long, value_parser(parse_aspect_ratio), default_value_t = 1.5)]
53+
#[arg(
54+
short,
55+
long,
56+
value_name = "ASPECT RATIO",
57+
value_parser(parse_aspect_ratio),
58+
default_value_t = 1.5
59+
)]
5460
/// The aspect ratio of the image. The horizontal pixel resolution is calculated by multiplying the
5561
/// vertical pixel resolution by this number. The aspect ratio can also be entered in the format x:y,
5662
/// where x and y are doubles, e.g. 3:2.

0 commit comments

Comments
 (0)