* as.c (parse_args): Print the date as well for --version.
[binutils-gdb.git] / gas / as.c
index dbc65ca0de2326458ba8c52764671627b97e57f0..d5922b07d1aca0a6d9c39a08db4c0080d895ac59 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -524,7 +524,7 @@ parse_args (pargc, pargv)
 
        case OPTION_VERSION:
          /* This output is intended to follow the GNU standards document.  */
-         printf (_("GNU assembler %s\n"), VERSION);
+         printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
          printf (_("Copyright 2001 Free Software Foundation, Inc.\n"));
          printf (_("\
 This program is free software; you may redistribute it under the terms of\n\