From 04d071bd0ee90cbd82c3d1048254140e2363ce0a Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 9 Jan 2014 22:06:38 -0200 Subject: Use --homepage, which is less ambiguous. --- src/luarocks/doc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/doc.lua b/src/luarocks/doc.lua index a3badd54..1a843f37 100644 --- a/src/luarocks/doc.lua +++ b/src/luarocks/doc.lua @@ -18,7 +18,7 @@ Without any flags, tries to load the documentation using a series of heuristics. With these flags, return only the desired information: ---home Open the home page of project. +--homepage Open the home page of project. --list List documentation files only. For more information about a rock, see the 'show' command. @@ -44,7 +44,7 @@ function run(...) if not rockspec then return nil,err end local descript = rockspec.description or {} - if flags["home"] then + if flags["homepage"] then if not descript.homepage then return nil, "No 'homepage' field in rockspec for "..name.." "..version end -- cgit v1.2.3-55-g6feb