diff scripts/strings/strjust.m @ 11150:564e998017f5

docstring fixes
author John W. Eaton <jwe@octave.org>
date Sat, 23 Oct 2010 03:33:25 -0400
parents f7079e3b0227
children c776f063fefe
line wrap: on
line diff
--- a/scripts/strings/strjust.m	Sat Oct 23 03:00:31 2010 -0400
+++ b/scripts/strings/strjust.m	Sat Oct 23 03:33:25 2010 -0400
@@ -18,15 +18,10 @@
 ## <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} strjust (@var{s})
-## @deftypefnx {Function File} strjust (@var{s}, "right")
-## Returns the text, S, justified to the right.
-##
-## @deftypefnx {Function File} strjust (@var{s}, "left")
-## Returns left justified text.
-##
-## @deftypefnx {Function File} strjust (@var{s}, "center")
-## Returns center justified text.
+## @deftypefn {Function File} {} strjust (@var{s}, @var{pos})
+## Return the text, @var{s}, justified according to @var{pos}, which may
+## be @samp{"left"}, @samp{"center"}, or @samp{"right"}.  If @var{pos}
+## is omitted, @samp{"right"} is assumed. 
 ##
 ## Null characters are replaced by spaces. All other character
 ## data are treated as non-white space.