mirror of
https://github.com/kdave/btrfs-progs
synced 2025-03-25 04:16:32 +00:00
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>
This commit is contained in:
parent
3988e80702
commit
c51b711fff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user