From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Philipp Subject: [PATCH 2/5] Support the new parameters in do_clone(int argc, char** argv). Date: Mon, 25 Apr 2011 15:47:58 +0200 Message-ID: <1303739282-1675-3-git-send-email-philipp.andreas@gmail.com> References: <1303733730-sup-9388@think> <1303739282-1675-1-git-send-email-philipp.andreas@gmail.com> Cc: Andreas Philipp , chris.mason@oracle.com, dcrmorgado@gmail.com, lizf@cn.fujitsu.com To: linux-btrfs@vger.kernel.org Return-path: In-Reply-To: <1303739282-1675-1-git-send-email-philipp.andreas@gmail.com> List-ID: Now 'btrfs subvolume snapshot' takes not two but only at least two parameters. Additionally, the help message is updated accordingly. Signed-off-by: Andreas Philipp --- btrfs.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/btrfs.c b/btrfs.c index 46314cf..f70d64b 100644 --- a/btrfs.c +++ b/btrfs.c @@ -44,9 +44,9 @@ static struct Command commands[] = { /* avoid short commands different for the case only */ - { do_clone, 2, - "subvolume snapshot", " [/]\n" - "Create a writable snapshot of the subvolume with\n" + { do_clone, -2, + "subvolume snapshot", "[-r] [/]\n" + "Create a writable/readonly snapshot of the subvolume with\n" "the name in the directory." }, { do_delete_subvolume, 1, -- 1.7.4.1