Subject: misc/25862: missing option in the usage of ln(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/08/2004 02:41:46
>Number: 25862
>Category: misc
>Synopsis: missing option in the usage of ln(1)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 07 18:10:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #22: Tue Jun 8 01:10:58 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-v is missing in the first line of the usage.
% ln
usage: ln [-fhns] file1 file2
ln [-fhnsv] file ... directory
>How-To-Repeat:
ln
>Fix:
Index: ln.c
===================================================================
RCS file: /cvs/cvsroot/src/bin/ln/ln.c,v
retrieving revision 1.28
diff -u -r1.28 ln.c
--- ln.c 5 Jan 2004 23:23:32 -0000 1.28
+++ ln.c 7 Jun 2004 11:21:55 -0000
@@ -188,7 +188,8 @@
{
(void)fprintf(stderr,
- "usage:\t%s [-fhns] file1 file2\n\t%s [-fhnsv] file ... directory\n",
+ "usage:\t%s [-fhnsv] file1 file2\n"
+ "\t%s [-fhnsv] file ... directory\n",
getprogname(), getprogname());
exit(1);
/* NOTREACHED */
>Release-Note:
>Audit-Trail:
>Unformatted: