summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Liu <jeff.liu@oracle.com>2012-12-17 11:35:29 +0000
committerDavid Sterba <dsterba@suse.cz>2013-02-26 19:24:14 +0100
commitc51b711fff2cfe5b67405731c17c8ffb694e1ddb (patch)
tree473ae59a182adeeafd78edc0c09975d2d330ad40
parent3988e807025b6f2a0b2d26d21bdbfecf29f0aecb (diff)
Btrfs-progs: fix cmd_label_usage to reflect this change.
Fix the command usage of "btrfs filesystem label" to reflect this change. i.e. so that we can get/set the label of a mounted filesystem against the mountpoint. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Anand Jain <anand.jain@oracle.com>
-rw-r--r--cmds-filesystem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index bdbd2eed..6e0a1cfe 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -497,8 +497,8 @@ static int cmd_resize(int argc, char **argv)
}
static const char * const cmd_label_usage[] = {
- "btrfs filesystem label <device> [<newlabel>]",
- "Get or change the label of an unmounted filesystem",
+ "btrfs filesystem label [<device>|<mountpoint>] [<newlabel>]",
+ "Get or change the label of a filesystem",
"With one argument, get the label of filesystem on <device>.",
"If <newlabel> is passed, set the filesystem label to <newlabel>.",
NULL