]> git.wh0rd.org Git - nano.git/commitdiff
Added --disable-help string to version()
authorChris Allegretta <chrisa@asty.org>
Mon, 18 Dec 2000 05:36:51 +0000 (05:36 +0000)
committerChris Allegretta <chrisa@asty.org>
Mon, 18 Dec 2000 05:36:51 +0000 (05:36 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
nano.c

index cf68ea1e7ccf3c9fda0a99515107ec19a476ea2f..477cf27446ff3186942db3a5b4ffb7dfdc306d9a 100644 (file)
--- 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 863ff0cbef6da886b0f3262610abd72360badee5..849a1288859be9b634e4090d8d67171c05fb2d61 100644 (file)
--- 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