btrfs-progs: check: do not require argument for --subvol-extents

$ btrfs check --subvol-extents /dev/sdx
ERROR: /dev/sdx is not a valid numeric value.

Signed-off-by: David Sterba <dsterba@suse.cz>
master
David Sterba 2014-08-22 16:01:38 +02:00
parent 9f2ff27df8
commit d34cbe76c7
1 changed files with 1 additions and 1 deletions

View File

@ -6545,7 +6545,7 @@ static struct option long_options[] = {
{ "init-extent-tree", 0, NULL, 0 },
{ "check-data-csum", 0, NULL, 0 },
{ "backup", 0, NULL, 0 },
{ "subvol-extents", 1, NULL, 'E' },
{ "subvol-extents", no_argument, NULL, 'E' },
{ "qgroup-report", 0, NULL, 'Q' },
{ NULL, 0, NULL, 0}
};