[ref] Cleanup
This commit is contained in:
12
src/args.rs
12
src/args.rs
@@ -1,8 +1,10 @@
|
||||
use clap::Parser;
|
||||
|
||||
#[derive(Debug,Parser)]
|
||||
#[command(version, about, long_about = "Byte Pusher Emulator")]
|
||||
pub struct BytePusherArgs{
|
||||
#[arg(short,long)]
|
||||
pub file_name:Option<String>
|
||||
#[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,
|
||||
}
|
Reference in New Issue
Block a user