Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crudd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct Opt {
key: Option<String>,

/// Generation
#[clap(short, long, default_value = "0", action)]
#[clap(short, long = "gen", default_value = "0", action)]
generation: u64,

/// TLS certificate
Expand Down
2 changes: 1 addition & 1 deletion crutest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub struct Opt {
#[clap(long, global = true, action)]
flush_timeout: Option<f32>,

#[clap(short, global = true, long, default_value_t = 0, action)]
#[clap(short, global = true, long = "gen", default_value_t = 0, action)]
generation: u64,

/// The key for an encrypted downstairs.
Expand Down
2 changes: 1 addition & 1 deletion hammer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Opt {
#[clap(short, long, action)]
key: Option<String>,

#[clap(short, long, default_value = "1", action)]
#[clap(short, long = "gen", default_value = "1", action)]
generation: u64,

/*
Expand Down
2 changes: 1 addition & 1 deletion measure_iops/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct Opt {
#[clap(short, long, action)]
key: Option<String>,

#[clap(short, long, default_value = "0", action)]
#[clap(short, long = "gen", default_value = "0", action)]
generation: u64,

#[clap(long, action)]
Expand Down
2 changes: 1 addition & 1 deletion nbd_server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Opt {
#[clap(short, long, action)]
key: Option<String>,

#[clap(short, long, default_value = "0", action)]
#[clap(short, long = "gen", default_value = "0", action)]
generation: u64,

// TLS options
Expand Down