diff --git a/src/main.rs b/src/main.rs index c79f8af..dda77af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,9 +15,11 @@ use rust_util::util_msg::{clear_lastline, flush_stdout}; #[tokio::main] async fn main() { - let matches = App::new("wacat-rs") - .arg(Arg::with_name("connect").short("c").long("connect").takes_value(true).help("WebSocket URL")) - .arg(Arg::with_name("disable-ping-pong").long("disable-ping-pong").help("Disable ping/pong")) + let matches = App::new("wscat-rs") + .arg(Arg::with_name("connect").short("c").long("connect").takes_value(true) + .help("WebSocket URL, e.g. wss://example.com/websocket")) + .arg(Arg::with_name("disable-ping-pong").long("disable-ping-pong") + .help("Disable ping/pong")) .get_matches(); let connect = matches.value_of("connect").unwrap_or_else(|| {