diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-11-05 13:53:14 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-11-05 13:53:14 +0000 |
commit | 1fdfa2ecfdf4d6be72319390cbbfa6ac0cc9d34f (patch) | |
tree | 9b72acd3d00d9a7ca3e677dca3c8776c857de28f /cli-runopts.c | |
parent | 51dcfc06dc1157e81d732fccb32d311f09aad191 (diff) |
LICENSE - Update copyright to 2008
cli-runopts.c - mention that -v is for DEBUG_TRACE, add multihop syntax
dbclient.1 - document some new features
--HG--
extra : convert_revision : 04ca01e638904920e0e16fea06b55c52a9b9b81d
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index 13d6b45..e7b1ed9 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -49,7 +49,11 @@ static void add_netcat(const char *str); static void printhelp() { fprintf(stderr, "Dropbear client v%s\n" +#ifdef ENABLE_CLI_MULTIHOP + "Usage: %s [options] [user@]host[/port][,[user@]host/port],...] [command]\n" +#else "Usage: %s [options] [user@]host[/port] [command]\n" +#endif "Options are:\n" "-p <remoteport>\n" "-l <username>\n" @@ -72,13 +76,13 @@ static void printhelp() { "-W <receive_window_buffer> (default %d, larger may be faster, max 1MB)\n" "-K <keepalive> (0 is never, default %d)\n" #ifdef ENABLE_CLI_NETCAT - "-B <endhost:endport> Netcat-alike bouncing\n" + "-B <endhost:endport> Netcat-alike forwarding\n" #endif #ifdef ENABLE_CLI_PROXYCMD - "-J <proxy_program> Use program rather than tcp connection\n" + "-J <proxy_program> Use program pipe rather than TCP connection\n" #endif #ifdef DEBUG_TRACE - "-v verbose\n" + "-v verbose (compiled with DEBUG_TRACE)\n" #endif ,DROPBEAR_VERSION, cli_opts.progname, DEFAULT_RECV_WINDOW, DEFAULT_KEEPALIVE); |