diff src/help.cc @ 3160:4696773a14b1

[project @ 1998-03-02 06:18:12 by jwe]
author jwe
date Mon, 02 Mar 1998 06:23:19 +0000
parents 292ff0bf484b
children 45490c020e47
line wrap: on
line diff
--- a/src/help.cc
+++ b/src/help.cc
@@ -393,28 +393,27 @@
   return list;
 }
 
-#if defined (USE_GNU_INFO)
-
 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.\n\
-\n\
-Use the command `help -i <topic>' to search the manual index.\n";
-}
-
-#else
-
-void
-additional_help_message (ostream&)
-{
-}
+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\
+at http://www.che.wisc.edu/octave/octave.html and via the\n\
+help-octave@bevo.che.wisc.edu mailing list.\n";
+
+}
+
 // XXX FIXME XXX -- this needs a major overhaul to cope with new
 // symbol table stuff.
 
@@ -531,6 +530,10 @@
 static void
 simple_help (void)
 {
+  octave_stdout << "Help is available for the topics listed below.\n";
+
+  additional_help_message (octave_stdout);
+
   display_names_from_help_list (octave_stdout, operator_help (),
 				"operators");
 
@@ -573,8 +576,6 @@
 	  names.list_in_columns (octave_stdout);
 	}
     }
-
-  additional_help_message (octave_stdout);
 }
 
 #if defined (USE_GNU_INFO)