Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

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

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

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

CeylonMigrationBot opened this issue Apr 24, 2014 · 1 comment
Milestone

Comments

@CeylonMigrationBot
Copy link

[@quintesse] Originally posted as #4853 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 #1228 (although --version works fine).

[Migrated from ceylon/ceylon-common#38]

@CeylonMigrationBot
Copy link
Author

[@quintesse] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant