From 1fdfa2ecfdf4d6be72319390cbbfa6ac0cc9d34f Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 5 Nov 2008 13:53:14 +0000 Subject: 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 --- cli-runopts.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cli-runopts.c') 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 \n" "-l \n" @@ -72,13 +76,13 @@ static void printhelp() { "-W (default %d, larger may be faster, max 1MB)\n" "-K (0 is never, default %d)\n" #ifdef ENABLE_CLI_NETCAT - "-B Netcat-alike bouncing\n" + "-B Netcat-alike forwarding\n" #endif #ifdef ENABLE_CLI_PROXYCMD - "-J Use program rather than tcp connection\n" + "-J 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); -- cgit v1.2.3