summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Chazelas <stephane.chazelas@gmail.com>2011-06-30 13:34:38 +0100
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:58 -0400
commitde07f367c4fa42e257e8a04eb0637a54825b3a9a (patch)
treedd86e115457ea1994c53ba50a0768b6ce61122b8
parentdfa328ac4e3e077a8972c171715cb64976e8d0f3 (diff)
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 <hugo@carfax.org.uk>
-rw-r--r--btrfs.c2
1 files changed, 1 insertions, 1 deletions
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] <source> [<dest>/]<name>\n"
"Create a writable/readonly snapshot of the subvolume <source> with\n"
"the name <name> in the <dest> directory.",