btrfs-progs: check: move --clear-ino-cache to deprecated section

Recently the functionality has been added to the 'rescue' group and
check prints a warning when the option is used but this should be also
visible in the help text.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-10-24 01:09:15 +02:00
parent ca785f2dd8
commit 4e721549cd
1 changed files with 3 additions and 1 deletions

View File

@ -9966,13 +9966,15 @@ static const char * const cmd_check_usage[] = {
OPTLINE("--init-csum-tree", "create a new CRC tree"),
OPTLINE("--init-extent-tree", "create a new extent tree"),
OPTLINE("--clear-space-cache v1|v2", "clear space cache for v1 or v2"),
OPTLINE("--clear-ino-cache", "clear ino cache leftover items"),
"",
"Check and reporting options:",
OPTLINE("--check-data-csum", "verify checksums of data blocks"),
OPTLINE("-Q|--qgroup-report", "print a report on qgroup consistency"),
OPTLINE("-E|--subvol-extents <subvolid>", "print subvolume extents and sharing state"),
OPTLINE("-p|--progress", "indicate progress"),
"",
"Deprecated or moved options:",
OPTLINE("--clear-ino-cache", "clear ino cache leftover items (moved to 'rescue' group)"),
NULL
};