build: exclude excessive version information from the tiny version

The tiny version is about being tiny.  Copyright information and
website links are not essential.
master
Benno Schulenberg 2020-10-01 10:40:25 +02:00
parent 3f938e29b6
commit d6c194265f
1 changed files with 4 additions and 2 deletions

View File

@ -658,10 +658,12 @@ void version(void)
#else
printf(_(" GNU nano, version %s\n"), VERSION);
#endif
#ifndef NANO_TINY
printf(" (C) 1999-2011, 2013-2020 Free Software Foundation, Inc.\n");
printf(_(" (C) 2014-%s the contributors to nano\n"), "2020");
printf(_(" Email: nano@nano-editor.org Web: https://nano-editor.org/"));
printf(_("\n Compiled options:"));
printf(_(" Email: nano@nano-editor.org Web: https://nano-editor.org/\n"));
#endif
printf(_(" Compiled options:"));
#ifdef NANO_TINY
printf(" --enable-tiny");