summaryrefslogtreecommitdiff
path: root/btrfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs.c')
-rw-r--r--btrfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/btrfs.c b/btrfs.c
index 9cc2665f..ff84260c 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -119,6 +119,12 @@ static struct Command commands[] = {
"Balance the chunks across the device.",
NULL
},
+ { do_change_label, -1,
+ "filesystem label", "<device> [<newlabel>]\n"
+ "With one argument, get the label of filesystem on <device>.\n"
+ "If <newlabel> is passed, set the filesystem label to <newlabel>.\n"
+ "The filesystem must be unmounted.\n"
+ },
{ do_scan, 999,
"device scan", "[<device>...]\n"
"Scan all device for or the passed device for a btrfs\n"