Mercurial > hg > octave-nkf
diff scripts/pkg/pkg.m @ 11547:e1851653d59c
Eliminate @deffn macros.
For consistency and easier maintenance, only use @deftypefn macro.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 15 Jan 2011 10:04:30 -0800 |
parents | fd0a3ac60b0e |
children | c792872f8942 |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -18,8 +18,8 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deffn {Command} pkg @var{command} @var{pkg_name} -## @deffnx {Command} pkg @var{command} @var{option} @var{pkg_name} +## @deftypefn {Command} {} pkg @var{command} @var{pkg_name} +## @deftypefnx {Command} {} pkg @var{command} @var{option} @var{pkg_name} ## This command interacts with the package manager. Different actions will ## be taken depending on the value of @var{command}. ## @@ -231,7 +231,7 @@ ## The options @option{-verbose} and @option{-nodeps} are respected, while ## the other options are ignored. ## @end table -## @end deffn +## @end deftypefn function [local_packages, global_packages] = pkg (varargin) ## Installation prefix (FIXME: what should these be on windows?)