e2image: remove redundant -fr from man page and usage message
Also, add a missing dash and two missing brackets and two missing
spaces, and remove three excess spaces.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
diff --git a/misc/e2image.8.in b/misc/e2image.8.in
index bbbb57a..ef12486 100644
--- a/misc/e2image.8.in
+++ b/misc/e2image.8.in
@@ -8,10 +8,12 @@
.SH SYNOPSIS
.B e2image
[
-.B \-r|Q
+.B \-r|\-Q
]
[
.B \-f
+]
+[
.B \-b
.I superblock
]
@@ -19,9 +21,6 @@
.B \-B
.I blocksize
]
-[
-.B \-fr
-]
.I device
.I image-file
.br
diff --git a/misc/e2image.c b/misc/e2image.c
index 30f2543..56183ad 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -104,11 +104,11 @@
static void usage(void)
{
- fprintf(stderr, _("Usage: %s [ -r|Q ] [ -f ] [ -b superblock ] [ -B blocksize]"
- "[ -fr ] device image-file\n"),
+ fprintf(stderr, _("Usage: %s [ -r|-Q ] [ -f ] [ -b superblock ] [ -B blocksize ] "
+ "device image-file\n"),
program_name);
fprintf(stderr, _(" %s -I device image-file\n"), program_name);
- fprintf(stderr, _(" %s -ra [ -cfnp ] [ -o src_offset ] "
+ fprintf(stderr, _(" %s -ra [ -cfnp ] [ -o src_offset ] "
"[ -O dest_offset ] src_fs [ dest_fs ]\n"),
program_name);
exit (1);