Mercurial > dropbear
comparison svr-runopts.c @ 299:740e782679be ucc-axis-hack
Various changes to compile+kind of run on UCC's axis board.
Note that fprintf(stdin -> printf( accounts for many of the changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:09 +0000 |
parents | 306499676384 |
children | 973fccb59ea4 |
comparison
equal
deleted
inserted
replaced
266:e37b160c414c | 299:740e782679be |
---|---|
33 | 33 |
34 static void printhelp(const char * progname); | 34 static void printhelp(const char * progname); |
35 | 35 |
36 static void printhelp(const char * progname) { | 36 static void printhelp(const char * progname) { |
37 | 37 |
38 fprintf(stderr, "Dropbear sshd v%s\n" | 38 printf( "Dropbear sshd v%s\n" |
39 "Usage: %s [options]\n" | 39 "Usage: %s [options]\n" |
40 "Options are:\n" | 40 "Options are:\n" |
41 "-b bannerfile Display the contents of bannerfile" | 41 "-b bannerfile Display the contents of bannerfile" |
42 " before user login\n" | 42 " before user login\n" |
43 " (default: none)\n" | 43 " (default: none)\n" |
206 case 'v': | 206 case 'v': |
207 debug_trace = 1; | 207 debug_trace = 1; |
208 break; | 208 break; |
209 #endif | 209 #endif |
210 default: | 210 default: |
211 fprintf(stderr, "Unknown argument %s\n", argv[i]); | 211 printf( "Unknown argument %s\n", argv[i]); |
212 printhelp(argv[0]); | 212 printhelp(argv[0]); |
213 exit(EXIT_FAILURE); | 213 exit(EXIT_FAILURE); |
214 break; | 214 break; |
215 } | 215 } |
216 } | 216 } |