Skip to content

Commit

Permalink
cli argument descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hashcashier committed Aug 14, 2023
1 parent cf2eca0 commit 2aceeac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions host/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,31 @@ use zeth_primitives::BlockHash;
#[clap(author, version, about, long_about = None)]
struct Args {
#[clap(short, long)]
/// URL of the chain RPC node.
rpc_url: Option<String>,

#[clap(short, long, require_equals = true, num_args = 0..=1, default_missing_value = "host/testdata")]
/// [default: host/testdata]
cache: Option<String>,

#[clap(short, long, value_enum, default_value = "ethereum")]
/// Network name
network: Network,

#[clap(short, long)]
/// Block number to validate
block_no: u64,

#[clap(short, long, default_value_t = 0)]
/// Segment size
local_exec: u32,

#[clap(long, default_value_t = false)]
/// Whether to submit the proving workload to Bonsai
bonsai_submit: bool,

#[clap(long)]
/// Bonsai Session UUID to use for receipt verification
bonsai_verify: Option<String>,
}

Expand Down

0 comments on commit 2aceeac

Please sign in to comment.