Added --disable-help string to version()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-12-18 05:36:51 +00:00
parent d1627cffd0
commit b7d00efd6d
2 changed files with 4 additions and 1 deletions

View File

@ -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

3
nano.c
View File

@ -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