summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Philipp <philipp.andreas@gmail.com>2011-04-26 10:02:42 +0200
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:58 -0400
commit681c1d64a9adb95a661518c59bf36ae044bed1ab (patch)
tree1452275f66208c379dcd57d5d73f38adb14de0f9
parentb19c828f16be56ba7055afabe75e7176cb73e592 (diff)
Support the new parameters in do_clone(int argc, char** argv).
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 <philipp.andreas@gmail.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
-rw-r--r--btrfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfs.c b/btrfs.c
index 742dd278..c90ee482 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -50,8 +50,8 @@ static struct Command commands[] = {
avoid short commands different for the case only
*/
{ do_clone, 2,
- "subvolume snapshot", "<source> [<dest>/]<name>\n"
- "Create a writable snapshot of the subvolume <source> with\n"
+ "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.",
NULL
},