1
0
mirror of https://github.com/osmarks/random-stuff synced 2024-12-26 18:10:34 +00:00

short width/height options in fractalart-rs somehow got swapped, fix it

This commit is contained in:
osmarks 2021-05-29 21:33:56 +01:00
parent cfca34ec89
commit cf7ba3da11

View File

@ -84,9 +84,9 @@ fn iter(opts: &CLIOptions, rng: &mut WyRand, im: &mut R16Image, pos: IPos, i: i3
#[derive(Options, Debug)] #[derive(Options, Debug)]
struct CLIOptions { struct CLIOptions {
#[options(help = "width of generated image", short = "H", default = "1000")] #[options(help = "width of generated image", short = "W", default = "1000")]
width: u32, width: u32,
#[options(help = "height of generated image", short = "W", default = "1000")] #[options(help = "height of generated image", short = "H", default = "1000")]
height: u32, height: u32,
#[options(help = "filename to save generated image to", short = "o", default = "./out.png")] #[options(help = "filename to save generated image to", short = "o", default = "./out.png")]
filename: String, filename: String,