btrfs-progs: dump-super: changes in options to specify superblocks
authorDavid Sterba <dsterba@suse.com>
Fri, 2 Sep 2016 14:57:23 +0000 (16:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Sep 2016 09:46:33 +0000 (11:46 +0200)
commita5bd84871999f0fc4237a36d378678189aa2a185
tree29dc83e196a00c8e66e4ff2a4e3ced9744a4b932
parentbde687343b827bd425e912136ecf191c593b38fd
btrfs-progs: dump-super: changes in options to specify superblocks

Some tools (check, select-super, dump-super) can use the alternate
superblocks, but the options are not consistent. To make it less
confusing, change the meaning of option -s in 'dump-super' to specify
the superblock copy, instead of taking the offset.

Though this is a change in UI, the old usage is detected and the result
would be the same, no breakage in existing scripts.

Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-inspect-internal.asciidoc
cmds-inspect-dump-super.c