Files
byte-pusher-emu/src/args.rs

10 lines
299 B
Rust
Raw Normal View History

2024-02-16 23:13:59 +05:30
use clap::Parser;
2024-02-21 18:52:26 +05:30
#[derive(Debug, Parser)]
#[command(version, about, author)]
pub struct BytePusherArgs {
#[arg(short, long, help = "ROM file to load")]
pub file_name: Option<String>,
#[arg(short, long, help = "Scale at which to draw", default_value_t = 2.0)]
pub draw_scale: f32,
2024-02-16 23:13:59 +05:30
}