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

Mark Fasheh mfasheh at suse.com
Wed Jan 14 14:36:10 PST 2009


Signed-off-by: Mark Fasheh <mfasheh at suse.com>


On Mon, Jan 05, 2009 at 06:33:37PM -0800, Joel Becker wrote:
> 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
--
Mark Fasheh



More information about the Ocfs2-tools-devel mailing list