# HG changeset patch # User John W. Eaton # Date 1295433520 18000 # Node ID 5c18da80e28a9ca3cffe06727cd906a82870a513 # Parent 8bb85ba7c9a6b128efdfbfe7077e7b001e6053c3 doc fixes diff --git a/scripts/help/help.m b/scripts/help/help.m --- a/scripts/help/help.m +++ b/scripts/help/help.m @@ -18,20 +18,17 @@ ## -*- texinfo -*- ## @deftypefn {Command} {} help @var{name} -## @deftypefn {Command} {} help @code{--list} -## Display the help text for @var{name}. -## If invoked without any arguments, @code{help} display instructions -## on how to access help from the command line. -## -## For example, the command @kbd{help help} prints a short message -## describing the @code{help} command. +## @deftypefnx {Command} {} help @code{--list} +## Display the help text for @var{name}. For example, the command +## @kbd{help help} prints a short message describing the @code{help} +## command. ## ## Given the single argument @code{--list}, list all operators, ## keywords, built-in functions, and loadable functions available ## in the current session of Octave. ## -## @deftypefnx {Function File} {@var{text} =} help (@var{name}) -## Return the help text for the function, @var{name}. +## If invoked without any arguments, @code{help} display instructions +## on how to access help from the command line. ## ## The help command can give you information about operators, but not the ## comma and semicolons that are used as command separators. To get help diff --git a/scripts/miscellaneous/orderfields.m b/scripts/miscellaneous/orderfields.m --- a/scripts/miscellaneous/orderfields.m +++ b/scripts/miscellaneous/orderfields.m @@ -36,6 +36,7 @@ ## Examples: ## ## @example +## @group ## s = struct("d", 4, "b", 2, "a", 1, "c", 3); ## t1 = orderfields(s) ## @result{} t1 = @@ -80,6 +81,7 @@ ## 4 ## 2 ## 3 +## @end group ## @end example ## ## @seealso{getfield, rmfield, isfield, isstruct, fieldnames, struct} diff --git a/scripts/plot/view.m b/scripts/plot/view.m --- a/scripts/plot/view.m +++ b/scripts/plot/view.m @@ -18,7 +18,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{azimuth}, @var{elevation}] =} view () -## @deftypefn {Function File} {} view (@var{azimuth}, @var{elevation}) +## @deftypefnx {Function File} {} view (@var{azimuth}, @var{elevation}) ## @deftypefnx {Function File} {} view ([@var{azimuth}, @var{elevation}]) ## @deftypefnx {Function File} {} view ([@var{x}, @var{y}, @var{z}]) ## @deftypefnx {Function File} {} view (@var{dims})