commit d6c194265fcc526aebf2ee41dee65ea03ba8da5a
parent 3f938e29b6b5fd3f62e99902a7daaf9a1f08034a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 1 Oct 2020 10:40:25 +0200
build: exclude excessive version information from the tiny version
The tiny version is about being tiny. Copyright information and
website links are not essential.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -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");