Module Name: src
Committed By: sevan
Date: Sun Aug 26 23:01:06 UTC 2018
Modified Files:
src/bin/ln: ln.c
Log Message:
Update usage to include -w
Match sequence as per SYNOPSIS in manual
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/bin/ln/ln.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ln/ln.c
diff -u src/bin/ln/ln.c:1.39 src/bin/ln/ln.c:1.40
--- src/bin/ln/ln.c:1.39 Sat Apr 22 12:22:31 2017
+++ src/bin/ln/ln.c Sun Aug 26 23:01:06 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ln.c,v 1.39 2017/04/22 12:22:31 kre Exp $ */
+/* $NetBSD: ln.c,v 1.40 2018/08/26 23:01:06 sevan Exp $ */
/*-
* Copyright (c) 1987, 1993, 1994
@@ -44,7 +44,7 @@ static char sccsid[] = "@(#)ln.c 8.2 (Be
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/bin/ln/ln.c 251261 2013-06-02 17:55:00Z eadler $");
#endif
-__RCSID("$NetBSD: ln.c,v 1.39 2017/04/22 12:22:31 kre Exp $");
+__RCSID("$NetBSD: ln.c,v 1.40 2018/08/26 23:01:06 sevan Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -358,8 +358,8 @@ static __dead void
usage(void)
{
(void)fprintf(stderr,
- "usage: %s [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file]\n"
- " %s [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir\n"
+ "usage: %s [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file [target_file]\n"
+ " %s [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file ... target_dir\n"
" link source_file target_file\n", getprogname(), getprogname());
exit(1);
}