show more detailed version in --version (#797)

This commit is contained in:
Logan McNaughton 2026-04-23 00:57:03 -06:00 committed by GitHub
parent 6eb3367f1b
commit 3b145909e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ use std::io::Error;
/// N64 emulator
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None, arg_required_else_help = if cfg!(feature = "gui") { false } else { true })]
#[command(author, version=env!("GIT_DESCRIBE"), about, long_about = None, arg_required_else_help = if cfg!(feature = "gui") { false } else { true })]
struct Args {
game: Option<String>,
#[arg(short, long)]