Skip to content

Commit 5e9f7b6

Browse files
authored
Change the flag names to be more obvious (#225)
1 parent 6bfc5a7 commit 5e9f7b6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ key.pem
99
helm-releases/.DS_Store
1010
.DS_Store
1111
env-file
12+
parseable

server/src/option.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ struct Cli {
147147

148148
#[derive(Subcommand, Clone)]
149149
enum SubCmd {
150-
#[command(name = "--s3")]
150+
#[command(name = "--s3-store")]
151151
ServerS3 {
152152
#[command(flatten)]
153153
server: Server,
154154
#[command(flatten)]
155155
storage: S3Config,
156156
},
157-
#[command(name = "--drive")]
157+
#[command(name = "--local-store")]
158158
ServerDrive {
159159
#[command(flatten)]
160160
server: Server,

server/src/storage/localfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use super::{LogStream, ObjectStorage, ObjectStorageError, ObjectStorageProvider}
4343
#[derive(Debug, Clone, clap::Args)]
4444
#[command(
4545
name = "Local filesystem config",
46-
about = "configuration for using local filesystem for storage"
46+
about = "Start Parseable with local filesystem as storage backend (non production use only)"
4747
)]
4848
pub struct FSConfig {
4949
#[arg(env = "P_FS_PATH", value_name = "filesystem path")]

server/src/storage/s3.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ use crate::storage::{LogStream, ObjectStorage, ObjectStorageError};
5151
use super::ObjectStorageProvider;
5252

5353
#[derive(Debug, Clone, clap::Args)]
54-
#[command(name = "S3 config", about = "configuration for AWS S3 SDK")]
54+
#[command(
55+
name = "S3 config",
56+
about = "Start Parseable with AWS S3 or compatible as storage backend"
57+
)]
5558
pub struct S3Config {
5659
/// The endpoint to AWS S3 or compatible object storage platform
5760
#[arg(long, env = "P_S3_URL", value_name = "url")]

0 commit comments

Comments
 (0)