[Ocfs2-tools-devel] [PATCH 01/18] tunefs.ocfs2: Print the cloned-volume help more accurately

Joel Becker joel.becker at oracle.com
Mon Jan 5 18:33:37 PST 2009


We allow an optional label argument to --cloned-volume.  Because it is
optional, it must be passed like "--cloned-volume=new-label".  A space
("--cloned-volume new-label") is not valid.

Update the help string to match

Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
 tunefs.ocfs2/ocfs2ne.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tunefs.ocfs2/ocfs2ne.c b/tunefs.ocfs2/ocfs2ne.c
index 1639c89..fa830f2 100644
--- a/tunefs.ocfs2/ocfs2ne.c
+++ b/tunefs.ocfs2/ocfs2ne.c
@@ -487,7 +487,7 @@ static struct tunefs_option cloned_volume_option = {
 		.val		= CHAR_MAX,
 		.has_arg	= 2,
 	},
-	.opt_help	= "   --cloned-volume [new-label]",
+	.opt_help	= "   --cloned-volume[=new-label]",
 	.opt_op		= &cloned_volume_op,
 };
 
-- 
1.5.6.5




More information about the Ocfs2-tools-devel mailing list