changeset 716:af4ef98b8591

Add URL to usage text
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 Mar 2013 23:10:47 +0800
parents cd3d3c63d189
children 74deece07742
files cli-runopts.c dbmulti.c dropbearkey.c svr-runopts.c
diffstat 4 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/cli-runopts.c	Thu Mar 21 22:55:12 2013 +0800
+++ b/cli-runopts.c	Thu Mar 21 23:10:47 2013 +0800
@@ -49,13 +49,12 @@
 
 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] [[email protected]]host[/port][,[[email protected]]host/port],...] [command]\n"
 #else
 					"Usage: %s [options] [[email protected]]host[/port] [command]\n"
 #endif
-					"Options are:\n"
 					"-p <remoteport>\n"
 					"-l <username>\n"
 					"-t    Allocate a pty\n"
--- a/dbmulti.c	Thu Mar 21 22:55:12 2013 +0800
+++ b/dbmulti.c	Thu Mar 21 23:10:47 2013 +0800
@@ -66,7 +66,7 @@
 #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"
--- a/dropbearkey.c	Thu Mar 21 22:55:12 2013 +0800
+++ b/dropbearkey.c	Thu Mar 21 23:10:47 2013 +0800
@@ -65,7 +65,6 @@
 static void printhelp(char * progname) {
 
 	fprintf(stderr, "Usage: %s -t <type> -f <filename> [-s bits]\n"
-					"Options are:\n"
 					"-t type	Type of key to generate. One of:\n"
 #ifdef DROPBEAR_RSA
 					"		rsa\n"
--- a/svr-runopts.c	Thu Mar 21 22:55:12 2013 +0800
+++ b/svr-runopts.c	Thu Mar 21 23:10:47 2013 +0800
@@ -36,9 +36,8 @@
 
 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"