diff options
author | Lawrence Teo <lteo@cvs.openbsd.org> | 2012-05-19 02:04:23 +0000 |
---|---|---|
committer | Lawrence Teo <lteo@cvs.openbsd.org> | 2012-05-19 02:04:23 +0000 |
commit | 7be3e833a8e2f9deb993fac1f907be4d0f8abdb5 (patch) | |
tree | 6363d4c238c81dc3e0da5fc13c44f6cfc6dc499b /usr.bin/ftp/main.c | |
parent | 543dd4ea595eb2ab468e7acbb2cc780cfe13101d (diff) |
Reformat usage() to avoid the line wrap, and make it match the way it
looks on the man page.
ok haesbaert jmc henning
Diffstat (limited to 'usr.bin/ftp/main.c')
-rw-r--r-- | usr.bin/ftp/main.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 40eb7bd3352..4674fa55e95 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.82 2012/04/30 13:41:26 haesbaert Exp $ */ +/* $OpenBSD: main.c,v 1.83 2012/05/19 02:04:22 lteo Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* @@ -759,12 +759,14 @@ usage(void) (void)fprintf(stderr, "usage: %s " #ifndef SMALL "[-46AadEegimnptVv] [-k seconds] [-P port] " - "[-r seconds] [host [port]]\n" + "[-r seconds] [-s srcaddr]\n" + " [host [port]]\n" " %s [-C] " #endif /* !SMALL */ "[-o output] " #ifndef SMALL - "[-s srcaddr] " + "[-s srcaddr]\n" + " " #endif /* !SMALL */ "ftp://[user:password@]host[:port]/file[/] ...\n" " %s " @@ -778,7 +780,8 @@ usage(void) "http://host[:port]/file ...\n" #ifndef SMALL " %s [-C] [-c cookie] [-o output] [-s srcaddr] " - "https://host[:port]/file ...\n" + "https://host[:port]/file\n" + " ...\n" #endif /* !SMALL */ " %s " #ifndef SMALL |