Skip to content

Commit

Permalink
misc: cli updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Eshanatnight committed Apr 23, 2024
1 parent 2806431 commit bc39afa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions server/src/banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ fn print_ascii_art() {

fn status_info(config: &Config, scheme: &str, id: Uid) {
let address = format!(
"\"{}://{}\" ({}), \":{}\" (gRPC)",
"\"{}://{}\" ({}), \":{}\" (livetail), \":{}\" (flight protocol)",
scheme,
config.parseable.address,
scheme.to_ascii_uppercase(),
config.parseable.grpc_port
config.parseable.grpc_port,
config.parseable.flight_port
);

let mut credentials =
Expand Down
10 changes: 6 additions & 4 deletions server/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ impl Config {
fn new() -> Self {
let cli = create_parseable_cli_command()
.name("Parseable")
.about("A Cloud Native, log analytics platform")
.before_help("Log Lake for the cloud-native world")
.about(
r#"A Cloud Native, log analytics platform
Log Lake for the cloud-native world
"#,
)
.arg_required_else_help(true)
.subcommand_required(true)
.color(clap::ColorChoice::Always)
Expand Down Expand Up @@ -192,11 +195,10 @@ fn create_parseable_cli_command() -> Command {
command!()
.name("Parseable")
.bin_name("parseable")
.about("Parseable is a log storage and observability platform.")
.propagate_version(true)
.next_line_help(false)
.help_template(
r#"
r#"{name} v{version}
{about}
Join the community at https://logg.ing/community.
Expand Down

0 comments on commit bc39afa

Please sign in to comment.