@@ -20,11 +20,11 @@ use cmd::error::{InitTlsProviderSnafu, Result};
2020use cmd:: options:: GlobalOptions ;
2121use cmd:: { App , cli, datanode, flownode, frontend, metasrv, standalone} ;
2222use common_base:: Plugins ;
23- use common_version:: { verbose_version, version} ;
23+ use common_version:: { product_name , verbose_version, version} ;
2424use servers:: install_ring_crypto_provider;
2525
2626#[ derive( Parser ) ]
27- #[ command( name = "greptime" , author, version, long_version = verbose_version( ) , about) ]
27+ #[ command( name = product_name ( ) , author, version, long_version = verbose_version( ) , about) ]
2828#[ command( propagate_version = true ) ]
2929pub ( crate ) struct Command {
3030 #[ clap( subcommand) ]
@@ -52,11 +52,11 @@ enum SubCommand {
5252 #[ clap( name = "metasrv" ) ]
5353 Metasrv ( metasrv:: Command ) ,
5454
55- /// Run greptimedb as a standalone service .
55+ /// Start service in standalone mode .
5656 #[ clap( name = "standalone" ) ]
5757 Standalone ( standalone:: Command ) ,
5858
59- /// Execute the cli tools for greptimedb .
59+ /// Execute the cli tools.
6060 #[ clap( name = "cli" ) ]
6161 Cli ( cli:: Command ) ,
6262}
@@ -148,7 +148,7 @@ async fn start(cli: Command) -> Result<()> {
148148
149149fn setup_human_panic ( ) {
150150 human_panic:: setup_panic!(
151- human_panic:: Metadata :: new( "GreptimeDB" , version( ) )
151+ human_panic:: Metadata :: new( product_name ( ) , version( ) )
152152 . homepage( "https://github.com/GreptimeTeam/greptimedb/discussions" )
153153 ) ;
154154
0 commit comments