Update --tunnel option description in wsssht help

- Change 'Transport types' to 'Transport' in --tunnel option description
- Add 'or websocket' to the description for clarity
- Update both usage message in wsssht.c and man page wsssht.1
parent 067dc0e5
......@@ -47,8 +47,8 @@ Connection retry interval in seconds (default: 5)
.BR \-\-debug
Enable debug output
.TP
.BR \-\-tunnel " \fITYPES\fR"
Transport types for data channel (comma\-separated or 'any', default: any)
.BR \-\-tunnel " \fITRANSPORT\fR"
Transport for data channel (comma\-separated or 'any', or 'websocket' default: any)
.TP
.BR \-\-tunnel\-control " \fITYPES\fR"
Transport types for control channel (comma\-separated or 'any', default: any)
......
No preview for this file type
......@@ -52,7 +52,7 @@ void print_usage(const char *program_name) {
fprintf(stderr, " --wssshd-port PORT wssshd server port (default: 9898)\n");
fprintf(stderr, " --interval SEC Connection retry interval in seconds (default: 5)\n");
fprintf(stderr, " --debug Enable debug output\n");
fprintf(stderr, " --tunnel TYPES Transport types for data channel (comma-separated or 'any', default: any)\n");
fprintf(stderr, " --tunnel TRANSPORT Transport for data channel (comma-separated or 'any', or 'websocket' default: any)\n");
fprintf(stderr, " --tunnel-control TYPES Transport types for control channel (comma-separated or 'any', default: any)\n");
fprintf(stderr, " --service SERVICE Service type (default: ssh)\n");
fprintf(stderr, " --help Show this help\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment