8 lines
201 B
Rust
8 lines
201 B
Rust
|
use clap::Parser;
|
||
|
|
||
|
#[derive(Parser,Debug,Clone)]
|
||
|
#[command(version,about,author)]
|
||
|
pub struct Chip8ProgramArgs{
|
||
|
#[arg(short,long,help = "Filename of ROM to load.")]
|
||
|
pub filename:Option<String>
|
||
|
}
|