Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Jan 18, 2024
1 parent cf3c5f8 commit fea1e37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ struct Args {
#[clap(long = "proof_mode", value_parser)]
proof_mode: bool,
#[clap(long = "air_public_input", requires = "proof_mode")]
air_public_input: Option<String>,
air_public_input: Option<PathBuf>,
#[clap(
long = "air_private_input",
requires_all = ["proof_mode", "trace_file", "memory_file"]
)]
air_private_input: Option<String>,
air_private_input: Option<PathBuf>,
#[clap(
long = "cairo_pie_output",
// We need to add these air_private_input & air_public_input or else
// passing cairo_pie_output + either of these without proof_mode will not fail
conflicts_with_all = ["proof_mode", "air_private_input", "air_public_input"]
)]
cairo_pie_output: Option<String>,
cairo_pie_output: Option<PathBuf>,
// Arguments should be spaced, with array elements placed between brackets
// For example " --args '1 2 [1 2 3]'" will yield 3 arguments, with the last one being an array of 3 elements
#[clap(long = "args", default_value = "", value_parser=process_args)]
Expand Down

0 comments on commit fea1e37

Please sign in to comment.