linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] e2image: remove redundant -fr from man page and usage message
@ 2019-12-05 17:57 Benno Schulenberg
  2019-12-31  3:45 ` Theodore Y. Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2019-12-05 17:57 UTC (permalink / raw)
  To: linux-ext4

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>
---
 misc/e2image.8.in | 7 +++----
 misc/e2image.c    | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/misc/e2image.8.in b/misc/e2image.8.in
index bbbb57ae..ef124867 100644
--- a/misc/e2image.8.in
+++ b/misc/e2image.8.in
@@ -8,10 +8,12 @@ e2image \- Save critical ext2/ext3/ext4 filesystem metadata to a file
 .SH SYNOPSIS
 .B e2image
 [
-.B \-r|Q
+.B \-r|\-Q
 ]
 [
 .B \-f
+]
+[
 .B \-b
 .I superblock
 ]
@@ -19,9 +21,6 @@ e2image \- Save critical ext2/ext3/ext4 filesystem metadata to a file
 .B \-B
 .I blocksize
 ]
-[
-.B \-fr
-]
 .I device
 .I image-file
 .br
diff --git a/misc/e2image.c b/misc/e2image.c
index 30f25432..56183ad6 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -104,11 +104,11 @@ static int get_bits_from_size(size_t size)
 
 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);
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] e2image: remove redundant -fr from man page and usage message
  2019-12-05 17:57 [PATCH] e2image: remove redundant -fr from man page and usage message Benno Schulenberg
@ 2019-12-31  3:45 ` Theodore Y. Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Y. Ts'o @ 2019-12-31  3:45 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: linux-ext4

On Thu, Dec 05, 2019 at 06:57:35PM +0100, Benno Schulenberg wrote:
> 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>

Thanks, applied.

					- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-31  3:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05 17:57 [PATCH] e2image: remove redundant -fr from man page and usage message Benno Schulenberg
2019-12-31  3:45 ` Theodore Y. Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).