From 254175598102532d8df1e127b4cb915fd7f8b31f Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 20 Oct 2024 19:23:21 -0400 Subject: [PATCH] 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 --- c_src/cmd_fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/cmd_fsck.c b/c_src/cmd_fsck.c index 0b41fc82..8beb108d 100644 --- a/c_src/cmd_fsck.c +++ b/c_src/cmd_fsck.c @@ -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 */