5
0
mirror of git://git.proxmox.com/git/pve-xtermjs.git synced 2025-03-11 20:58:41 +03:00

termproxy: fix the command line help text

The <listen-port> need to be the first argument.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2024-07-24 13:32:47 +02:00 committed by Wolfgang Bumiller
parent 872cf7c634
commit d8e9c1a261

View File

@ -4,7 +4,7 @@ use std::os::fd::RawFd;
use anyhow::{bail, Result}; use anyhow::{bail, Result};
const CMD_HELP: &str = "\ const CMD_HELP: &str = "\
Usage: proxmox-termproxy [OPTIONS] --path <path> <listen-port> -- <terminal-cmd>... Usage: proxmox-termproxy <listen-port> [OPTIONS] --path <path> -- <terminal-cmd>...
Arguments: Arguments:
<listen-port> Port or file descriptor to listen for TCP connections <listen-port> Port or file descriptor to listen for TCP connections