diff --git a/Documentation/btrfs-check.txt b/Documentation/btrfs-check.txt index 8a8073f5..821bfc9a 100644 --- a/Documentation/btrfs-check.txt +++ b/Documentation/btrfs-check.txt @@ -32,6 +32,8 @@ create a new CRC tree. create a new extent tree. --check-data-csum:: verify checkums of data blocks. +--subvol-extents :: +show extent state for a subvolume. EXIT STATUS ----------- diff --git a/cmds-check.c b/cmds-check.c index 2a5f823d..923fb10c 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -7544,7 +7544,7 @@ static struct option long_options[] = { { "init-extent-tree", 0, NULL, 0 }, { "check-data-csum", 0, NULL, 0 }, { "backup", 0, NULL, 0 }, - { "subvol-extents", no_argument, NULL, 'E' }, + { "subvol-extents", 1, NULL, 'E' }, { "qgroup-report", 0, NULL, 'Q' }, { NULL, 0, NULL, 0} }; @@ -7560,7 +7560,7 @@ const char * const cmd_check_usage[] = { "--init-extent-tree create a new extent tree", "--check-data-csum verify checkums of data blocks", "--qgroup-report print a report on qgroup consistency", - "--subvol-extents print subvolume extents and sharing state", + "--subvol-extents print subvolume extents and sharing state", NULL };