Fixed a command line option type for builtin-fsck.c
authorEmil Medve <Emilian.Medve@Freescale.com>
Tue, 30 Oct 2007 19:15:21 +0000 (14:15 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2007 23:12:18 +0000 (16:12 -0700)
The typo was introduced by 5ac0a2063e8f824f6e8ffb4d18de74c55aae7131
(Make builtin-fsck.c use parse_options.)

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Acked-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c

index 64da3bd363dbbbd5ac9cbff93285f98cc9362898..e4874f64a3742b0b54ba2c25f398bece41a5015e 100644 (file)
@@ -680,7 +680,7 @@ static struct option fsck_opts[] = {
        OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
        OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
        OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"),
-       OPT_BOOLEAN(0, "struct", &check_strict, "enable more strict checking"),
+       OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
        OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
                                "write dangling objects in .git/lost-found"),
        OPT_END(),