comparison cli-runopts.c @ 716:af4ef98b8591

Add URL to usage text
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 Mar 2013 23:10:47 +0800
parents aadfa8de977d
children 7fc0aeada79c
comparison
equal deleted inserted replaced
715:cd3d3c63d189 716:af4ef98b8591
47 static void add_netcat(const char *str); 47 static void add_netcat(const char *str);
48 #endif 48 #endif
49 49
50 static void printhelp() { 50 static void printhelp() {
51 51
52 fprintf(stderr, "Dropbear client v%s\n" 52 fprintf(stderr, "Dropbear SSH client v%s https://matt.ucc.asn.au/dropbear/dropbear.html\n"
53 #ifdef ENABLE_CLI_MULTIHOP 53 #ifdef ENABLE_CLI_MULTIHOP
54 "Usage: %s [options] [user@]host[/port][,[user@]host/port],...] [command]\n" 54 "Usage: %s [options] [user@]host[/port][,[user@]host/port],...] [command]\n"
55 #else 55 #else
56 "Usage: %s [options] [user@]host[/port] [command]\n" 56 "Usage: %s [options] [user@]host[/port] [command]\n"
57 #endif 57 #endif
58 "Options are:\n"
59 "-p <remoteport>\n" 58 "-p <remoteport>\n"
60 "-l <username>\n" 59 "-l <username>\n"
61 "-t Allocate a pty\n" 60 "-t Allocate a pty\n"
62 "-T Don't allocate a pty\n" 61 "-T Don't allocate a pty\n"
63 "-N Don't run a remote command\n" 62 "-N Don't run a remote command\n"