refactor(arguments): directly set default value for script in arguments

This commit is contained in:
2025-03-13 17:31:19 -04:00
parent de5dbe600a
commit 477790db0e
2 changed files with 5 additions and 7 deletions

View File

@@ -7,8 +7,8 @@ use std::path::PathBuf;
#[command(version = build_info::version_formatted())]
pub struct Arguments {
/// Path to Lua entry point
#[arg(short, long)]
pub script: Option<PathBuf>,
#[arg(short, long, default_value = "errornowatcher.lua")]
pub script: PathBuf,
/// Code to execute after loading script
#[arg(short, long)]