mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 15:53:26 -10:00
Desktop: Resolve relative file paths passed to cli (#4844)
Desktop: Resolve relative file paths passed on the command line
This commit is contained in:
1 parent
d4ffee948f
commit
d6fa17122f
1 file changed
+1
-1
+1
-1
@@ -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<std::path::PathBuf>,
|
||||
|
||||
#[arg(long, action = clap::ArgAction::SetTrue, help = "Disable hardware accelerated UI rendering")]
|
||||
|
||||
Reference in new issue
Block a user