mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-27 07:53:27 +00:00
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>
This commit is contained in:
parent
dfa328ac4e
commit
de07f367c4
2
btrfs.c
2
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.",
|
||||
|
Loading…
Reference in New Issue
Block a user