summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2007-10-30 14:15:21 -0500
committerJunio C Hamano <gitster@pobox.com>2007-10-30 16:12:18 -0700
commitdd46b9b95b853328e7ff1c11b7f5cae68751c79e (patch)
tree1af9360c4c8a56ab6f9a3900ba755eac1f923dfd
parentb2565ae57376116b9d78369b6eac07e55c6f7851 (diff)
downloadgit-dd46b9b95b853328e7ff1c11b7f5cae68751c79e.tar.gz
Fixed a command line option type for builtin-fsck.c
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>
-rw-r--r--builtin-fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fsck.c b/builtin-fsck.c
index 64da3bd363..e4874f64a3 100644
--- a/builtin-fsck.c
+++ b/builtin-fsck.c
@@ -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(),