Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/flock Use longer -c description.
details: https://anonhg.NetBSD.org/src/rev/cf683e2f836a
branches: trunk
changeset: 782406:cf683e2f836a
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Nov 02 02:07:19 2012 +0000
description:
Use longer -c description.
diffstat:
usr.bin/flock/flock.1 | 5 +++--
usr.bin/flock/flock.c | 8 ++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r d0c2e846f8e3 -r cf683e2f836a usr.bin/flock/flock.1
--- a/usr.bin/flock/flock.1 Fri Nov 02 02:03:18 2012 +0000
+++ b/usr.bin/flock/flock.1 Fri Nov 02 02:07:19 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: flock.1,v 1.4 2012/11/02 02:03:18 wiz Exp $
+.\" $NetBSD: flock.1,v 1.5 2012/11/02 02:07:19 wiz Exp $
.\"
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -39,7 +39,8 @@
.Op Fl dnosvx
.Op Fl w Ar timeout
.Ar lockfile|lockdir
-.Op Fl c
+.Op Fl c Ar command
+|
.Op Ar command ...
.Nm
.Op Fl dnsuvx
diff -r d0c2e846f8e3 -r cf683e2f836a usr.bin/flock/flock.c
--- a/usr.bin/flock/flock.c Fri Nov 02 02:03:18 2012 +0000
+++ b/usr.bin/flock/flock.c Fri Nov 02 02:07:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: flock.c,v 1.3 2012/11/02 02:03:18 wiz Exp $ */
+/* $NetBSD: flock.c,v 1.4 2012/11/02 02:07:19 wiz Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: flock.c,v 1.3 2012/11/02 02:03:18 wiz Exp $");
+__RCSID("$NetBSD: flock.c,v 1.4 2012/11/02 02:07:19 wiz Exp $");
#include <stdio.h>
#include <string.h>
@@ -65,8 +65,8 @@
static __dead void usage(void)
{
- fprintf(stderr, "Usage: %s [-dnosvx] [-w timeout] lockfile|lockdir [-c] "
- "command\n\t%s [-dnsuvx] [-w timeout] lockfd\n", getprogname(),
+ fprintf(stderr, "Usage: %s [-dnosvx] [-w timeout] lockfile|lockdir [-c command]| "
+ "command ...\n\t%s [-dnsuvx] [-w timeout] lockfd\n", getprogname(),
getprogname());
exit(EXIT_FAILURE);
}
Home |
Main Index |
Thread Index |
Old Index