summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-07-15 13:30:48 +0800
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:36 +0200
commit7d1478b91a9ccfade5f130ebca7928b0badd779a (patch)
treeacdc25b8cacf81d0add3d8b9ddecf9ee87c570d1
parent65ed88d472fcb2278b18ecc033cfc8e7e957bc9f (diff)
btrfs-progs: label option in btrfs filesystem show is not coded
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
-rw-r--r--cmds-filesystem.c2
-rw-r--r--man/btrfs.8.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 27f88887..945ef2e1 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -220,7 +220,7 @@ static void print_one_uuid(struct btrfs_fs_devices *fs_devices)
}
static const char * const cmd_show_usage[] = {
- "btrfs filesystem show [--all-devices] [<uuid>|<label>]",
+ "btrfs filesystem show [--all-devices|<uuid>]",
"Show the structure of a filesystem",
"If no argument is given, structure of all present filesystems is shown.",
NULL
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 7df2eadb..bc945790 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -31,7 +31,7 @@ btrfs \- control a btrfs filesystem
.PP
\fBbtrfs\fP \fBfilesystem label\fP\fI <dev> [newlabel]\fP
.PP
-\fBbtrfs\fP \fBfilesystem show\fP\fI [--all-devices|<uuid>|<label>]\fP
+\fBbtrfs\fP \fBfilesystem show\fP\fI [--all-devices|<uuid>]\fP
.PP
\fBbtrfs\fP \fBfilesystem balance\fP\fI <path> \fP
.PP
@@ -273,9 +273,9 @@ following constraints exist for a label:
.IP
- the maximum allowable length shall be less than 256 chars
-\fBfilesystem show\fR [--all-devices|<uuid>|<label>]\fR
-Show the btrfs filesystem with some additional info. If no \fIUUID\fP or
-\fIlabel\fP is passed, \fBbtrfs\fR show info of all the btrfs filesystem.
+\fBfilesystem show\fR [--all-devices|<uuid>]\fR
+Show the btrfs filesystem with some additional info. If no \fIUUID\fP
+is passed, \fBbtrfs\fR show info of all the btrfs filesystem.
If \fB--all-devices\fP is passed, all the devices under /dev are scanned;
otherwise the devices list is extracted from the /proc/partitions file.
.TP