ceylon / ceylon-runtime

DEPRECATED
24 stars 5 forks source link

'ceylon run --d' not supported #42

Closed jpragey closed 11 years ago

jpragey commented 11 years ago

The doc (by 'ceylon run --help') shows a '--d' option, but if you try it, you get a

ceylon run: Unknown argument: d

error.

FroMage commented 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.

quintesse commented 11 years ago

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?

tombentley commented 11 years ago

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.

quintesse commented 11 years ago

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 ;)

quintesse commented 11 years ago

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).