cmd_fsck: Add -K flag (don't run kernel fsck)

This was added previously, but not added to the getopt string.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-10-20 19:23:21 -04:00
parent 553d6f107a
commit 2541755981

View File

@ -222,7 +222,7 @@ int cmd_fsck(int argc, char *argv[])
append_opt(&opts_str, "read_only");
while ((opt = getopt_long(argc, argv,
"apynfo:rRkvh",
"apynfo:rRkKvh",
longopts, NULL)) != -1)
switch (opt) {
case 'a': /* outdated alias for -p */