Skip to content

fix command line processing error #1176

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

Merged
merged 1 commit into from
Mar 18, 2016
Merged

fix command line processing error #1176

merged 1 commit into from
Mar 18, 2016

Conversation

liufengyun
Copy link
Contributor

Fix command line error for -help and -no-bootcp.

@@ -40,7 +40,7 @@ class ScalaSettings extends Settings.SettingGroup {
val jvmargs = PrefixSetting("-J<flag>", "-J", "Pass <flag> directly to the runtime system.")
val defines = PrefixSetting("-Dproperty=value", "-D", "Pass -Dproperty=value directly to the runtime system.")
val toolcp = PathSetting("-toolcp", "Add to the runner classpath.", "")
val nobootcp = BooleanSetting("-nobootcp", "Do not use the boot classpath for the scala jars.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we should rename options inherited from scalac, unless they have different meaning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then I change ./bin/dotc to accept -nobootcp instead of -no-bootcp.

@liufengyun
Copy link
Contributor Author

I've updated the commit with only changes to ./bin/dotc.

@odersky
Copy link
Contributor

odersky commented Mar 18, 2016

@DarkDimius Can we merge this?

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Mar 18, 2016
fix command line processing error
@DarkDimius DarkDimius merged commit a675cbf into scala:master Mar 18, 2016
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

Successfully merging this pull request may close these issues.

4 participants