- printf("LILO version %d.%d%s%s", VERSION_MAJOR, VERSION_MINOR,
- VERSION_EDIT, test ? " (test mode)" : "");
- if (version && verbose<=0) {
- printf("\n");
- return 0;
- }
- printf("\n * Copyright (C) 1992-1998 Werner Almesberger (until v20)\n"
- " * Copyright (C) 1999-2007 John Coffman (until v22)\n"
- " * Copyright (C) 2009-2010 Joachim Wiedorn (since v23)\n"
- "This program comes with ABSOLUTELY NO WARRANTY. This is free software \n"
- "distributed under the BSD License (3-clause). Details can be found in \n"
- "the file COPYING, which is distributed with this software.\n"
- );
+ printf("LILO version %d.%d%s", VERSION_MAJOR, VERSION_MINOR, VERSION_EDIT);
+ if (test)
+ printf(" (test mode)\n");
+ else
+ printf(" (released %s)\n", VERSION_DATE);
+ if (version && verbose<=0) {
+ /* exit if user asks for version and no verbose */
+ return 0;
+ }
+ printf(" * Copyright (C) 1992-1998 Werner Almesberger (until v20)\n"
+ " * Copyright (C) 1999-2007 John Coffman (until v22)\n"
+ " * Copyright (C) 2009-2013 Joachim Wiedorn (since v23)\n"
+ "This program comes with ABSOLUTELY NO WARRANTY. This is free software \n"
+ "distributed under the BSD License (3-clause). Details can be found in \n"
+ "the file COPYING, which is distributed with this software.\n"
+ );