Skip to content

Commit

Permalink
fix(nargo): Allow --program-dir flag anywhere in a command (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Aug 11, 2023
1 parent 79af8e6 commit 7834fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nargo_cli/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct NargoCli {
#[non_exhaustive]
#[derive(Args, Clone, Debug)]
pub(crate) struct NargoConfig {
#[arg(short, long, hide=true, default_value_os_t = std::env::current_dir().unwrap())]
#[arg(short, long, hide=true, global=true, default_value_os_t = std::env::current_dir().unwrap())]
program_dir: PathBuf,
}

Expand Down

0 comments on commit 7834fce

Please sign in to comment.