Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceylon run grabs --help argument that belongs to module being run #58

Closed
lucaswerkmeister opened this issue Apr 24, 2014 · 2 comments
Closed

Comments

@lucaswerkmeister
Copy link
Member

ceylon run foo.bar --help will print the ceylon run help, even though the option belongs to the module being run, not ceylon run. This means that a Ceylon program started via the command line can’t print its own --help message.

Probably related to ceylon/ceylon-compiler#1228 (although --version works fine). Is this the right repository? I chose the one that contains CeylonRunTool, but I don’t see anything help-related there…

@quintesse
Copy link
Member

I was sure there was already an issue for this but of course I can't find it now.
I'm aware of this problem and has to do with the fact that --help is the only option that's very much hard-coded into the tool framework, I was able to get rid of the other hard-coded things but this proved to be a stubborn option.

I'll move it over to common which is where it really belongs.

Btw, you can work around this problem by using -- between the Ceylon tool options and the options you want to pass to your program.

@lucaswerkmeister
Copy link
Member Author

Alright, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants