From 60a4b4b4312fb1ad17f226b8bc72cfb758e896ef Mon Sep 17 00:00:00 2001 From: sevan Date: Sun, 26 Aug 2018 23:01:06 +0000 Subject: [PATCH] Update usage to include -w Match sequence as per SYNOPSIS in manual --- bin/ln/ln.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/ln/ln.c b/bin/ln/ln.c index 2f7e8549f258..b057e396d121 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -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 (Berkeley) 3/31/94"; #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 #include @@ -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); }