From 9dc30fbd2a09287b2761d58ff1d387e5d69c7e69 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 21 Mar 2013 23:10:47 +0800 Subject: [PATCH] Add URL to usage text --- cli-runopts.c | 3 +-- dbmulti.c | 2 +- dropbearkey.c | 1 - svr-runopts.c | 3 +-- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cli-runopts.c b/cli-runopts.c index 791326c..5ddcc21 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -49,13 +49,12 @@ static void add_netcat(const char *str); static void printhelp() { - fprintf(stderr, "Dropbear client v%s\n" + fprintf(stderr, "Dropbear SSH client v%s https://matt.ucc.asn.au/dropbear/dropbear.html\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" "-t Allocate a pty\n" diff --git a/dbmulti.c b/dbmulti.c index 2b8df3f..8d99656 100644 --- a/dbmulti.c +++ b/dbmulti.c @@ -66,7 +66,7 @@ int main(int argc, char ** argv) { #endif } - fprintf(stderr, "Dropbear multi-purpose version %s\n" + fprintf(stderr, "Dropbear SSH multi-purpose v%s\n" "Make a symlink pointing at this binary with one of the following names:\n" #ifdef DBMULTI_dropbear "'dropbear' - the Dropbear server\n" diff --git a/dropbearkey.c b/dropbearkey.c index 421b6e0..9b82a77 100644 --- a/dropbearkey.c +++ b/dropbearkey.c @@ -65,7 +65,6 @@ static void justprintpub(const char* filename); static void printhelp(char * progname) { fprintf(stderr, "Usage: %s -t -f [-s bits]\n" - "Options are:\n" "-t type Type of key to generate. One of:\n" #ifdef DROPBEAR_RSA " rsa\n" diff --git a/svr-runopts.c b/svr-runopts.c index b1a54ee..f6ce86c 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -36,9 +36,8 @@ static void addportandaddress(char* spec); static void printhelp(const char * progname) { - fprintf(stderr, "Dropbear sshd v%s\n" + fprintf(stderr, "Dropbear server v%s https://matt.ucc.asn.au/dropbear/dropbear.html\n" "Usage: %s [options]\n" - "Options are:\n" "-b bannerfile Display the contents of bannerfile" " before user login\n" " (default: none)\n"