commit 28795cffe22ee6a645e4763f6b9bd0e422dddb2a
Author:     Mattias Andrée <[email protected]>
AuthorDate: Sat Mar 26 11:37:33 2016 +0100
Commit:     sin <[email protected]>
CommitDate: Sat Mar 26 19:08:10 2016 +0000

    fsfreeze: make it clear the either -f or -u must be specified, not optional
    
    Signed-off-by: Mattias Andrée <[email protected]>

diff --git a/fsfreeze.8 b/fsfreeze.8
index 576814d..4b48982 100644
--- a/fsfreeze.8
+++ b/fsfreeze.8
@@ -1,4 +1,4 @@
-.Dd February 2, 2015
+.Dd March 26, 2016
 .Dt FSFREEZE 8
 .Os ubase
 .Sh NAME
@@ -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
@@ -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

Reply via email to