about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/makedb.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/db/makedb.c b/db/makedb.c
index a62e3d848b..cfe6aed157 100644
--- a/db/makedb.c
+++ b/db/makedb.c
@@ -114,7 +114,18 @@ main (argc, argv)
 
   /* Version information is requested.  */
   if (do_version)
-    printf ("%s - GNU %s %s\n", program_invocation_name, PACKAGE, VERSION);
+    {
+      fprintf (stderr, "makedb - GNU %s %s\n", PACKAGE, VERSION);
+      fprintf (stderr, _("\
+Copyright (C) %s Free Software Foundation, Inc.\n\
+This is free software; see the source for copying conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
+"), "1996");
+      fprintf (stderr, _("Written by %s\n"),
+	       "Ulrich Drepper <drepper@cygnus.com>");
+
+      exit (EXIT_SUCCESS);
+    }
 
   /* Help is requested.  */
   if (do_help)