Skip to content

Commit 3ce3c86

Browse files
thesamesamkdave
authored andcommitted
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>
1 parent ed9339b commit 3ce3c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9956,7 +9956,7 @@ static const char * const cmd_check_usage[] = {
99569956
"",
99579957
"Operation modes:",
99589958
OPTLINE("--readonly", "run in read-only mode (default)"),
9959-
OPTLINE("--repair", "try to repair the filesystem"),
9959+
OPTLINE("--repair", "try to repair the filesystem (dangerous, see above warning)"),
99609960
OPTLINE("--force", "skip mount checks, recommended only with --readonly; "
99619961
"WARNING: it is possible to run with --repair but on a mounted filesystem "
99629962
"that will most likely lead to a corruption unless the filesystem "

0 commit comments

Comments
 (0)