Fixed the tempfile flags for some of the disk commands
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-08-17 17:58:04 -04:00
parent 132a0ee501
commit f9ca8beaad

View File

@ -57,7 +57,7 @@ enum DiskCommands {
// sequential disk read subcommand
#[clap(name = "read_seq", about = "Sequential disk read speed test.")]
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,
#[clap(short = 's', long, default_value_t = 15)]
size: u8,
@ -66,7 +66,7 @@ enum DiskCommands {
// random disk read subcommand
#[clap(name = "read_rand", about = "Random 4K disk read speed test.")]
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,
#[clap(short = 's', long, default_value_t = 15)]
size: u8,