Skip to content

Commit 7ee0c66

Browse files
committed
misc: cli updates
1 parent 5eb1850 commit 7ee0c66

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

server/src/banner.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ fn print_ascii_art() {
4949

5050
fn status_info(config: &Config, scheme: &str, id: Uid) {
5151
let address = format!(
52-
"\"{}://{}\" ({}), \":{}\" (gRPC)",
52+
"\"{}://{}\" ({}), \":{}\" (livetail), \":{}\" (flight protocol)",
5353
scheme,
5454
config.parseable.address,
5555
scheme.to_ascii_uppercase(),
56-
config.parseable.grpc_port
56+
config.parseable.grpc_port,
57+
config.parseable.flight_port
5758
);
5859

5960
let mut credentials =

server/src/option.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ impl Config {
4444
fn new() -> Self {
4545
let cli = create_parseable_cli_command()
4646
.name("Parseable")
47-
.about("A Cloud Native, log analytics platform")
48-
.before_help("Log Lake for the cloud-native world")
47+
.about(
48+
r#"A Cloud Native, log analytics platform
49+
Log Lake for the cloud-native world
50+
"#,
51+
)
4952
.arg_required_else_help(true)
5053
.subcommand_required(true)
5154
.color(clap::ColorChoice::Always)
@@ -192,11 +195,10 @@ fn create_parseable_cli_command() -> Command {
192195
command!()
193196
.name("Parseable")
194197
.bin_name("parseable")
195-
.about("Parseable is a log storage and observability platform.")
196198
.propagate_version(true)
197199
.next_line_help(false)
198200
.help_template(
199-
r#"
201+
r#"{name} v{version}
200202
{about}
201203
Join the community at https://logg.ing/community.
202204

0 commit comments

Comments
 (0)