diff src/pager.cc @ 3332:7c03933635c6

[project @ 1999-11-02 06:57:12 by jwe]
author jwe
date Tue, 02 Nov 1999 06:57:16 +0000
parents 4964d5391acc
children 15cddaacbc2d
line wrap: on
line diff
--- a/src/pager.cc	Tue Nov 02 06:25:23 1999 +0000
+++ b/src/pager.cc	Tue Nov 02 06:57:16 1999 +0000
@@ -358,10 +358,26 @@
 }
 
 DEFUN_TEXT (diary, args, ,
-  "diary [on|off]\n\
-diary [file]\n\
+  "-*- texinfo -*-\n\
+@deffn {Command} diary options\n\
+Create a list of all commands @emph{and} the output they produce, mixed\n\
+together just as you see them on your terminal.  Valid options are:\n\
+\n\
+@table @code\n\
+@item on\n\
+Start recording your session in a file called @file{diary} in your\n\
+current working directory.\n\
 \n\
-redirect all input and screen output to a file.")
+@item off\n\
+Stop recording your session in the diary file.\n\
+\n\
+@item @var{file}\n\
+Record your session in the file named @var{file}.\n\
+@end table\n\
+\n\
+Without any arguments, @code{diary} toggles the current diary state.\n\
+@end deffn\n\
+")
 {
   octave_value_list retval;