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>
master
Stephane Chazelas 2011-06-30 13:34:38 +01:00 committed by Chris Mason
parent dfa328ac4e
commit de07f367c4
1 changed files with 1 additions and 1 deletions

View File

@ -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.",