Skip to content

Commit

Permalink
fix: propagate_version
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaatif committed Sep 17, 2024
1 parent 5d2000e commit ee93ec4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion zero/src/bin/leader/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use zero::rpc::RpcType;

/// zero-bin leader config
#[derive(Parser)]
#[command(version = zero::version())]
#[command(version = zero::version(), propagate_version = true)]
pub(crate) struct Cli {
#[command(subcommand)]
pub(crate) command: Command,
Expand Down
2 changes: 1 addition & 1 deletion zero/src/bin/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ enum Command {
}

#[derive(Parser)]
#[command(version = zero::version())]
#[command(version = zero::version(), propagate_version = true)]
struct Cli {
#[clap(flatten)]
pub(crate) config: RpcToolConfig,
Expand Down
2 changes: 1 addition & 1 deletion zero/src/bin/verifier/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use clap::{Parser, ValueHint};
use zero::prover_state::cli::CliProverStateConfig;

#[derive(Parser)]
#[command(version = zero::version())]
#[command(version = zero::version(), propagate_version = true)]
pub(crate) struct Cli {
/// The file containing the proof to verify
#[arg(short, long, value_hint = ValueHint::FilePath)]
Expand Down
2 changes: 1 addition & 1 deletion zero/src/bin/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use zero::{ops::register, tracing};
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;

#[derive(Parser)]
#[command(version = zero::version())]
#[command(version = zero::version(), propagate_version = true)]
struct Cli {
#[clap(flatten)]
paladin: paladin::config::Config,
Expand Down

0 comments on commit ee93ec4

Please sign in to comment.