Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ln Update usage to include -w
details: https://anonhg.NetBSD.org/src/rev/ead54f16a20c
branches: trunk
changeset: 992365:ead54f16a20c
user: sevan <sevan%NetBSD.org@localhost>
date: Sun Aug 26 23:01:06 2018 +0000
description:
Update usage to include -w
Match sequence as per SYNOPSIS in manual
diffstat:
bin/ln/ln.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 14e6bbd5e693 -r ead54f16a20c bin/ln/ln.c
--- a/bin/ln/ln.c Sun Aug 26 22:52:34 2018 +0000
+++ b/bin/ln/ln.c Sun Aug 26 23:01:06 2018 +0000
@@ -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 @@
#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 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index