(TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define.
[gnulib.git] / lib / long-options.c
index fdc9ec0..82372d6 100644 (file)
@@ -25,6 +25,7 @@
 #include <getopt.h>
 #include "closeout.h"
 #include "long-options.h"
+#include "version-etc.h"
 
 #if ENABLE_NLS
 # include <libintl.h>
@@ -69,8 +70,7 @@ parse_long_options (int argc,
          (*usage_func) (0);
 
        case 'v':
-         printf ("%s (%s) %s\n", command_name, package, version);
-         printf (_("Written by %s.\n"), authors);
+         version_etc (stdout, command_name, package, version, authors);
          close_stdout (); /* FIXME: output failure exit status
                              should be settable via an arg.  */
          exit (0);