Closed jpragey closed 11 years ago
This option is not supported yet. We should either remove the help that mentions it or print that it's not supported when provided.
Removed it for now. What is that option even used for? Is it something we have to keep or could it be removed on the compiler tool as well?
It was always in spec for most of the tools to be able to disable the default module repos. I think when I originally rewrote/wrapped the tools for the git-style tooling I just copied it from the spec, even though it hadn't been implementing in any of the tools. We've been asking whether we need it ever since. I guess it's been super-ceded by the [repositories]
section of the config file.
Aah, okay, so it means that you specify everything on the command line and please do not apply any of the default ones. I understand now.
Ok, that seems useful, but it could use a better name than --d
;)
For now I added the somewhat longish option --no-default-repositories
, but we can always change that [*]. It is supported by all the tools that deal with repositories.
([*] we could call it --d
again, but 1 it's not really consistent with the fact that we use long names everywhere and 2 it's confusing internally because there's already a low-level javac -d
option).
The doc (by 'ceylon run --help') shows a '--d' option, but if you try it, you get a
error.