Subject: misc/26199: missing option in the usage of ftp(1)
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/08/2004 14:01:18
>Number:         26199
>Category:       misc
>Synopsis:       missing option in the usage of ftp(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 08 05:02:00 UTC 2004
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0G
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #19: Wed Jul 7 22:20:57 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
	-q is missing in the usage of ftp(1).

	see usage

Index: ftp/main.c
RCS file: /cvs/cvsroot/src/usr.bin/ftp/main.c,v
retrieving revision 1.87
diff -u -r1.87 main.c
--- ftp/main.c	14 May 2004 18:39:21 -0000	1.87
+++ ftp/main.c	7 Jul 2004 18:23:18 -0000
@@ -1029,8 +1029,8 @@
 	const char *progname = getprogname();
-"usage: %s [-46AadefginpRtvV] [-N netrc] [-o outfile] [-P port] [-r retry]\n"
-"           [-T dir,max[,inc][[user@]host [port]]] [host:path[/]]\n"
+"usage: %s [-46AadefginpRtvV] [-N netrc] [-o outfile] [-P port] [-q quittime]\n"
+"           [-r retry] [-T dir,max[,inc][[user@]host [port]]] [host:path[/]]\n"
 "           [file:///file] [ftp://[user[:pass]@]host[:port]/path[/]]\n"
 "           [http://[user[:pass]@]host[:port]/path] [...]\n"
 "       %s -u URL file [...]\n", progname, progname);