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

Unable to pass --help argument to Ceylon tools #38

Open
quintesse opened this issue Apr 24, 2014 · 1 comment
Open

Unable to pass --help argument to Ceylon tools #38

quintesse opened this issue Apr 24, 2014 · 1 comment
Labels
Milestone

Comments

@quintesse
Copy link
Member

Originally posted as ceylon/ceylon-runtime#58 by @lucaswerkmeister

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

@quintesse quintesse added the bug label Apr 24, 2014
@quintesse quintesse added this to the 1.2 milestone Apr 24, 2014
@quintesse
Copy link
Member Author

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.

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

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

No branches or pull requests

1 participant