[ref] Cleanup

This commit is contained in:
2024-02-21 18:52:26 +05:30
parent 7f568f63e1
commit 20c90af201
5 changed files with 41 additions and 33 deletions

View File

@@ -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,
}