From: Peter Verthez <Peter.Verthez@advalvas.be>
Date: Sun, 2 Feb 2003 09:36:18 +0000 (+0000)
Subject: Added a note if the parse failed with compatibility mode disabled.
X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=8546d64910c267f1594dd8b2275897b29bef1610;p=gedcom-parse.git

Added a note if the parse failed with compatibility mode disabled.
---

diff --git a/bin/gedcom-check.c b/bin/gedcom-check.c
index 3f14d6c..0accc9c 100644
--- a/bin/gedcom-check.c
+++ b/bin/gedcom-check.c
@@ -122,6 +122,10 @@ int main(int argc, char* argv[])
   }
   else {
     printf(_("Parse failed\n"));
+    if (!compat_enabled) {
+      printf(_("  Note: Compatibility mode was not enabled\n"));
+      printf(_("  You could try the check again using the '-c' option\n"));
+    }
   }
   return result;
 }