Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/flock Tweak formatting.
details: https://anonhg.NetBSD.org/src/rev/da1c2619a966
branches: trunk
changeset: 965869:da1c2619a966
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Oct 04 11:49:48 2019 +0000
description:
Tweak formatting.
diffstat:
usr.bin/flock/flock.1 | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 8c438c7ccf27 -r da1c2619a966 usr.bin/flock/flock.1
--- a/usr.bin/flock/flock.1 Fri Oct 04 11:47:07 2019 +0000
+++ b/usr.bin/flock/flock.1 Fri Oct 04 11:49:48 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: flock.1,v 1.10 2014/08/18 09:45:52 christos Exp $
+.\" $NetBSD: flock.1,v 1.11 2019/10/04 11:49:48 uwe Exp $
.\"
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -39,9 +39,7 @@
.Op Fl dnosvx
.Op Fl w Ar timeout
.Ar lockfile|lockdir
-.Op Fl c Ar command
-|
-.Op Ar command ...
+.Op Oo Fl c Oc Ar command ...
.Nm
.Op Fl dnsuvx
.Op Fl w Ar timeout
@@ -57,7 +55,7 @@
.Pp
The second form can use an arbitrary file descriptor that is provided from a
shell script for example:
-.Bd -literal
+.Bd -literal -offset indent
(
flock -s 100
# commands to be executed under the lock
@@ -65,7 +63,7 @@
.Ed
.Pp
The following options are available:
-.Bl -tag -width "XXXXXXXXXXXXXXXXX"
+.Bl -tag -width Fl
.It Fl c Ar command
Pass a command to a the shell.
.It Fl d , Fl Fl debug
Home |
Main Index |
Thread Index |
Old Index