Fixed the tempfile flags for some of the disk commands
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
132a0ee501
commit
f9ca8beaad
@ -57,7 +57,7 @@ enum DiskCommands {
|
|||||||
// sequential disk read subcommand
|
// sequential disk read subcommand
|
||||||
#[clap(name = "read_seq", about = "Sequential disk read speed test.")]
|
#[clap(name = "read_seq", about = "Sequential disk read speed test.")]
|
||||||
ReadSeqTest {
|
ReadSeqTest {
|
||||||
#[clap(short = 'f', long, default_value_t = String::from("/tmp/disk-test.tmp"))]
|
#[clap(short = 't', long, default_value_t = String::from("/tmp/disk-test.tmp"))]
|
||||||
tempfile: String,
|
tempfile: String,
|
||||||
#[clap(short = 's', long, default_value_t = 15)]
|
#[clap(short = 's', long, default_value_t = 15)]
|
||||||
size: u8,
|
size: u8,
|
||||||
@ -66,7 +66,7 @@ enum DiskCommands {
|
|||||||
// random disk read subcommand
|
// random disk read subcommand
|
||||||
#[clap(name = "read_rand", about = "Random 4K disk read speed test.")]
|
#[clap(name = "read_rand", about = "Random 4K disk read speed test.")]
|
||||||
ReadRandTest {
|
ReadRandTest {
|
||||||
#[clap(short = 'f', long, default_value_t = String::from("/tmp/disk-test.tmp"))]
|
#[clap(short = 't', long, default_value_t = String::from("/tmp/disk-test.tmp"))]
|
||||||
tempfile: String,
|
tempfile: String,
|
||||||
#[clap(short = 's', long, default_value_t = 15)]
|
#[clap(short = 's', long, default_value_t = 15)]
|
||||||
size: u8,
|
size: u8,
|
||||||
|
Loading…
Reference in New Issue
Block a user