We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 565f9ff + 9588095 commit 0436538Copy full SHA for 0436538
1 file changed
apps/kelvin-tui/src/main.rs
@@ -47,6 +47,10 @@ fn parse_args() -> Result<CliConfig, String> {
47
48
#[tokio::main]
49
async fn main() {
50
+ if env::args().any(|a| a == "--help" || a == "-h") {
51
+ println!("Usage: kelvin-tui [--gateway-url <url>] [--auth-token <token>] [--session <id>]");
52
+ return;
53
+ }
54
match parse_args() {
55
Ok(config) => {
56
if let Err(e) = app::run(config).await {
0 commit comments