rename --save-path to --save

This commit is contained in:
Alex Janka 2023-03-02 20:08:18 +11:00
parent 7a8076bc8f
commit 1f1fb3ff57

View file

@ -24,7 +24,7 @@ struct Args {
/// Save path
#[arg(long)]
save_path: Option<String>,
save: Option<String>,
/// BootROM path
#[arg(short, long)]
@ -66,7 +66,7 @@ fn main() {
let options = gb_emu::Options {
rom_path: args.rom,
save_path: args.save_path,
save_path: args.save,
bootrom_path: args.bootrom,
connect_serial: args.connect_serial,
verbose: args.verbose,