From b7d00efd6d15927f040f95826197a793d56874b9 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Mon, 18 Dec 2000 05:36:51 +0000
Subject: [PATCH] Added --disable-help string to version()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog | 2 +-
 nano.c    | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index cf68ea1e..477cf274 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 CVS code -
 General
 	- Added --disable-help option, affects acconfig.h, configure(.in),
-	  winio.c:do_help, nano.c:help_init,help_text_init.
+	  winio.c:do_help, nano.c:help_init,help_text_init,version.
 	- Changed filename to no longer use PATH_MAX, so it can work on the
 	  HURD.  Changes in files.c:write_file(), new function
 	  nano.c:clear_filename(), many changed in main(), a few other
diff --git a/nano.c b/nano.c
index 863ff0cb..849a1288 100644
--- a/nano.c
+++ b/nano.c
@@ -453,6 +453,9 @@ void version(void)
 #ifdef DISABLE_SPELLER
     printf(" --disable-speller");
 #endif
+#ifdef DISABLE_HELP
+    printf(" --disable-help");
+#endif
 #ifdef USE_SLANG
     printf(" --with-slang");
 #endif
-- 
GitLab