From d6c194265fcc526aebf2ee41dee65ea03ba8da5a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 1 Oct 2020 10:40:25 +0200 Subject: [PATCH] build: exclude excessive version information from the tiny version The tiny version is about being tiny. Copyright information and website links are not essential. --- src/nano.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index a9a48e12..cf607db0 100644 --- 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");