diff src/help.cc @ 5393:c8783205a7c6

[project @ 2005-06-15 17:03:54 by jwe]
author jwe
date Wed, 15 Jun 2005 17:03:55 +0000
parents 4266ef7972b2
children db34dff19947
line wrap: on
line diff
--- a/src/help.cc
+++ b/src/help.cc
@@ -292,7 +292,14 @@
     "Produce 3-D plots using gnuplot-like command syntax.", },
 
   { "if",
-    "Begin an if block.", },
+    "-*- texinfo -*-\n\
+@deffn Keyword if (@var{cond}) @dots{} endif\n\
+@deffnx Keyword if (@var{cond}) @dots{} else @dots{} endif\n\
+@deffnx Keyword if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} endif\n\
+@deffnx Keyword if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} else @dots{} endif\n\
+Begin an if block.\n\
+@end deffn\n\
+@seealso{switch}", },
 
   { "otherwise",
     "The default statement in a switch block.", },