commit 28795cffe22ee6a645e4763f6b9bd0e422dddb2a
parent 48728b25945a864216a4e3a96a4d043363007de8
Author: Mattias Andrée <maandree@kth.se>
Date: Sat, 26 Mar 2016 11:37:33 +0100
fsfreeze: make it clear the either -f or -u must be specified, not optional
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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