mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-30 05:02:04 +03:00
makes --path global
This commit is contained in:
parent
b80cc62368
commit
a1d48d4251
@ -55,7 +55,12 @@ struct Opt {
|
||||
#[structopt(subcommand)]
|
||||
command: CommandOpts,
|
||||
|
||||
#[structopt(short, long, help = "Optional path to Leo program root folder", parse(from_os_str))]
|
||||
#[structopt(
|
||||
long,
|
||||
global = true,
|
||||
help = "Optional path to Leo program root folder",
|
||||
parse(from_os_str)
|
||||
)]
|
||||
path: Option<PathBuf>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user