From 2f951d6dd21420c6915aff86591f51be962b024e Mon Sep 17 00:00:00 2001 From: Richard Pringle Date: Tue, 16 May 2023 15:14:42 -0400 Subject: [PATCH] fixup! Rename types to use proper PascalCase --- fwdctl/src/create.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fwdctl/src/create.rs b/fwdctl/src/create.rs index b11dbc754..07e1fa077 100644 --- a/fwdctl/src/create.rs +++ b/fwdctl/src/create.rs @@ -172,8 +172,8 @@ pub struct Options { long, required = false, default_value_t = 256, - value_name = "DISK_BUFFER_Wal_MAX_AIO_REQUESTS", - help = "Maximum number of concurrent async I/O requests in Wal." + value_name = "DISK_BUFFER_WAL_MAX_AIO_REQUESTS", + help = "Maximum number of concurrent async I/O requests in WAL." )] wal_max_aio_requests: usize, @@ -181,8 +181,8 @@ pub struct Options { long, required = false, default_value_t = 1024, - value_name = "DISK_BUFFER_Wal_MAX_BUFFERED", - help = "Maximum buffered Wal records." + value_name = "DISK_BUFFER_WAL_MAX_BUFFERED", + help = "Maximum buffered WAL records." )] wal_max_buffered: usize, @@ -190,18 +190,18 @@ pub struct Options { long, required = false, default_value_t = 4096, - value_name = "DISK_BUFFER_Wal_MAX_BATCH", - help = "Maximum batched Wal records per write." + value_name = "DISK_BUFFER_WAL_MAX_BATCH", + help = "Maximum batched WAL records per write." )] wal_max_batch: usize, - /// Wal Config + /// WAL Config #[arg( long, required = false, default_value_t = 22, - value_name = "Wal_FILE_NBIT", - help = "Size of Wal file." + value_name = "WAL_FILE_NBIT", + help = "Size of WAL file." )] file_nbit: u64, @@ -209,8 +209,8 @@ pub struct Options { long, required = false, default_value_t = 15, - value_name = "Wal_BLOCK_NBIT", - help = "Size of Wal blocks." + value_name = "WAL_BLOCK_NBIT", + help = "Size of WAL blocks." )] block_nbit: u64,