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