btrfs-progs: check: add a specific warning in --help for repair

Make it more explicit for the argument.

Pull-request: #635
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Sam James 2023-06-03 22:16:43 +01:00 committed by David Sterba
parent ed9339b403
commit 3ce3c8638c
1 changed files with 1 additions and 1 deletions

View File

@ -9956,7 +9956,7 @@ static const char * const cmd_check_usage[] = {
"",
"Operation modes:",
OPTLINE("--readonly", "run in read-only mode (default)"),
OPTLINE("--repair", "try to repair the filesystem"),
OPTLINE("--repair", "try to repair the filesystem (dangerous, see above warning)"),
OPTLINE("--force", "skip mount checks, recommended only with --readonly; "
"WARNING: it is possible to run with --repair but on a mounted filesystem "
"that will most likely lead to a corruption unless the filesystem "