From de07f367c4fa42e257e8a04eb0637a54825b3a9a Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Thu, 30 Jun 2011 13:34:38 +0100 Subject: incorrect argument checking for "btrfs sub snap -r" Looks like this was missing in integration-20110626 for the readonly snapshot patch: Signed-off-by: Hugo Mills --- btrfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btrfs.c') diff --git a/btrfs.c b/btrfs.c index c90ee482..9cc2665f 100644 --- a/btrfs.c +++ b/btrfs.c @@ -49,7 +49,7 @@ static struct Command commands[] = { /* avoid short commands different for the case only */ - { do_clone, 2, + { do_clone, -2, "subvolume snapshot", "[-r] [/]\n" "Create a writable/readonly snapshot of the subvolume with\n" "the name in the directory.", -- cgit v1.2.3