luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 36 forks source link

Inconsisten "usage" documentation for "--trees" and/or "--to" #100

Closed behoffski closed 7 years ago

behoffski commented 7 years ago

The synopsis for LuaRocks 2.4.1 includes the line: /usr/local/bin/luarocks [--from= | --only-from=] [--to=] [VAR=VALUE]... []

However, the GENERAL OPTIONS list includes the following: --tree= Which tree to operate on.

So, is "--to" the general option, or is "--tree"? Or is there some other configuration/combination in action, perhaps on a command-by-command basis?

leafo commented 7 years ago

This is the issues tracker for the website, did you mean to post here? https://github.com/luarocks/luarocks/issues

hishamhm commented 7 years ago

@behoffski --to is an old synonym to --tree. In any case, the references to --to and friends were removed in the dev branch, thanks.