[hackers] [ubase][PATCH] fsfreeze: make it clear the either -f or -u must be specified, not optional

From: Mattias Andrée <maandree_AT_kth.se>
Date: Sat, 26 Mar 2016 11:37:33 +0100

Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
---
 fsfreeze.8 | 4 ++--
 fsfreeze.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fsfreeze.8 b/fsfreeze.8
index 576814d..4b48982 100644
--- a/fsfreeze.8
+++ b/fsfreeze.8
_AT_@ -1,4 +1,4 @@
-.Dd February 2, 2015
+.Dd March 26, 2016
 .Dt FSFREEZE 8
 .Os ubase
 .Sh NAME
_AT_@ -6,7 +6,7 @@
 .Nd suspend access to a filesystem
 .Sh SYNOPSIS
 .Nm
-.Op Fl f | Fl u
+.Po Fl f | Fl u Pc
 .Ar mountpoint
 .Sh DESCRIPTION
 .Nm
diff --git a/fsfreeze.c b/fsfreeze.c
index 657c29b..1ce77ff 100644
--- a/fsfreeze.c
+++ b/fsfreeze.c
_AT_@ -16,7 +16,7 @@
 static void
 usage(void)
 {
-	eprintf("usage: %s [-f | -u] mountpoint\n", argv0);
+	eprintf("usage: %s (-f | -u) mountpoint\n", argv0);
 }
 
 int
-- 
2.7.3
Received on Sat Mar 26 2016 - 11:37:33 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 26 2016 - 11:48:14 CET