Mercurial > hg > octave-nkf
diff src/help.cc @ 3168:1c267910655d
[project @ 1998-04-19 01:22:38 by jwe]
author | jwe |
---|---|
date | Sun, 19 Apr 1998 01:23:10 +0000 |
parents | 45490c020e47 |
children | 9580887dd160 |
line wrap: on
line diff
--- a/src/help.cc +++ b/src/help.cc @@ -396,16 +396,12 @@ void additional_help_message (ostream& os) { -#if defined (USE_GNU_INFO) - if (! Vsuppress_verbose_help_message) os << "\n\ Additional help for builtin functions, operators, and variables\n\ is available in the on-line version of the manual. Use the command\n\ `help -i <topic>' to search the manual index.\n"; -#endif - if (! Vsuppress_verbose_help_message) os << "\n\ Help and information about Octave is also available on the WWW\n\ @@ -578,8 +574,6 @@ } } -#if defined (USE_GNU_INFO) - static int try_info (const string& nm) { @@ -654,16 +648,6 @@ } } -#else - -static void -help_from_info (const string_vector&, int, int) -{ - message ("help", "Info help is not available in this version of Octave"); -} - -#endif - static bool help_from_list (ostream& os, const help_list *list, const string& nm, int usage) @@ -738,16 +722,10 @@ additional_help_message (octave_stdout); } -#if defined (USE_GNU_INFO) -#define HELP_DOC_STRING \ - "help [-i] [topic ...]\n\nprint cryptic yet witty messages" -#else -#define HELP_DOC_STRING \ - "help [topic ...]\n\nprint cryptic yet witty messages" -#endif - DEFUN_TEXT (help, args, , - HELP_DOC_STRING) + "help [-i] [topic ...]\n\ +\n\ +print cryptic yet witty messages") { octave_value_list retval;