diff --git a/desktop/src/cli.rs b/desktop/src/cli.rs index 3af8e10c4a..72c5d6d2b6 100644 --- a/desktop/src/cli.rs +++ b/desktop/src/cli.rs @@ -1,7 +1,7 @@ #[derive(clap::Parser)] #[clap(name = "graphite", version)] pub struct Cli { - #[arg(help = "Files to open on startup")] + #[arg(help = "Files to open on startup", value_parser = |path: &str| std::path::absolute(path))] pub files: Vec, #[arg(long, action = clap::ArgAction::SetTrue, help = "Disable hardware accelerated UI rendering")]