From 107fe26c73e4cf83c585e1072f74268bc88401b1 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 11 Aug 2014 11:33:50 -0300 Subject: Correct inaccuracy in documentation. The logic for determining the default local repository can get complicated (see luarocks/command_line.lua and luarocks/path.lua), so saying cfg.root_dir wouldn't be quite precise either. So let's avoid the issue. Closes #278. --- src/luarocks/manif.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua index f1d1629c..f53f8dca 100644 --- a/src/luarocks/manif.lua +++ b/src/luarocks/manif.lua @@ -414,7 +414,7 @@ end -- @param name string: Name of a package from the repository. -- @param version string: Version of a package from the repository. -- @param repo string or nil: Pathname of a local repository. If not given, --- the default local repository configured as cfg.rocks_dir is used. +-- the default local repository is used. -- @param deps_mode string: Dependency mode: "one" for the current default tree, -- "all" for all trees, "order" for all trees with priority >= the current default, -- "none" for using the default dependency mode from the configuration. -- cgit v1.2.3-55-g6feb