diff --git a/src/cli.rs b/src/cli.rs index 1e2ef9a..73870bc 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,7 +1,7 @@ use clap::{Args, Parser, Subcommand}; use clap_complete::Shell; -/// porthole - create and manage named SSH port forwards. +/// Create and manage named SSH port forwards. #[derive(Parser)] #[command(name = "porthole", version, about)] pub struct Cli { @@ -26,7 +26,7 @@ pub enum Commands { /// Update a saved profile. Edit(EditArgs), - /// Deep-dive health for one forward. + /// Show detailed status for one forward. Status(StatusArgs), /// List all saved profiles with live status. @@ -66,7 +66,7 @@ pub struct MappingArgs { #[arg(short, long, value_name = "[BIND:]PORT")] pub dynamic: Option, - /// SSH hop chain: jump hosts plus the final connection target. + /// Jump-host chain, ending at the connection target. #[arg(long, value_name = "[USER@]HOST[:PORT]", value_delimiter = ',')] pub via: Vec, @@ -101,7 +101,7 @@ pub struct MappingArgs { #[derive(Args)] pub struct AddArgs { - /// Name for the new profile. + /// Name of the new profile. pub name: String, #[command(flatten)] @@ -119,7 +119,7 @@ pub struct EditArgs { #[derive(Args)] pub struct OpenArgs { - /// Name of the profile to open. Ignored (and optional) with --all. + /// Name of the profile to open (ignored with --all). pub name: Option, /// Run attached in the current shell instead of detaching. @@ -140,7 +140,7 @@ pub struct CloseArgs { /// Name of the profile to close. pub name: String, - /// SIGKILL immediately instead of graceful SIGTERM + wait. + /// Send SIGKILL immediately instead of SIGTERM with a graceful wait. #[arg(long)] pub force: bool, }