diff --git a/cmd_fsck.c b/cmd_fsck.c index 3f79f733..93746ac0 100644 --- a/cmd_fsck.c +++ b/cmd_fsck.c @@ -28,8 +28,9 @@ int cmd_fsck(int argc, char *argv[]) opt_set(opts, degraded, true); opt_set(opts, fix_errors, FSCK_OPT_ASK); - while ((opt = getopt(argc, argv, "pynfvh")) != -1) + while ((opt = getopt(argc, argv, "apynfvh")) != -1) switch (opt) { + case 'a': /* outdated alias for -p */ case 'p': opt_set(opts, fix_errors, FSCK_OPT_YES); break;