changeset 9293:d371cb65428a

Fix output from 'print_usage' in Errors chapter in the manual
author Soren Hauberg <hauberg@gmail.com>
date Wed, 27 May 2009 14:35:11 +0200
parents aa2e52bd82dd
children f7a520eb6325
files doc/ChangeLog doc/interpreter/errors.txi
diffstat 2 files changed, 16 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Wed May 27 14:10:32 2009 +0200
+++ b/doc/ChangeLog	Wed May 27 14:35:11 2009 +0200
@@ -7,6 +7,10 @@
 	* interpreter/oop.txi: Update docs of polynomial class, mention
 	chained indexing.
 
+2009-05-27  Søren Hauberg  <hauberg@gmail.com>
+
+	* interpreter/errors.txi: fix 'print_usage' output.
+
 2009-05-27  Søren Hauberg  <hauberg@gmail.com>
 
 	* interpreter/bugs.txi: fix call to 'page_screen_output'.
--- a/doc/interpreter/errors.txi	Wed May 27 14:10:32 2009 +0200
+++ b/doc/interpreter/errors.txi	Wed May 27 14:35:11 2009 +0200
@@ -107,16 +107,18 @@
 @group
 f ()
 
-Invalid call to f.  Correct usage is:
-
-     @print{}  -- Function File: f (ARG1)
-     @print{}      Function help text goes here@dots{}
-     @print{} 
-     @print{} 
-     @print{} 
-     @print{} error: called from:
-     @print{} error:   print_usage at line -1, column -1
-     @print{} error:   /home/jwe/octave/f.m at line 7, column 5
+@print{}  error: Invalid call to f.  Correct usage is:
+@print{}  
+@print{}   -- Function File: f (ARG1)
+@print{}  
+@print{}  
+@print{}  Additional help for built-in functions and operators is
+@print{}  available in the on-line version of the manual.  Use the command
+@print{}  `doc <topic>' to search the manual index.
+@print{}  
+@print{}  Help and information about Octave is also available on the WWW
+@print{}  at http://www.octave.org and via the help@@octave.org
+@print{}  mailing list.
 @end group
 @end example