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

rename --precompiled and --compilecache command line options #23616

Merged
merged 1 commit into from
Sep 9, 2017

Conversation

JeffBezanson
Copy link
Member

@JeffBezanson JeffBezanson commented Sep 7, 2017

--precompiled becomes --sysimage-native-code, and --compilecache becomes --compiled-modules.

I also noticed that we were missing newline characters after the warn-overwrite option. I also took the liberty of moving the warning options higher up in the help text, since they're generally more used than the compiler options.

part of #23054

@JeffBezanson JeffBezanson added the deprecation This change introduces or involves a deprecation label Sep 7, 2017
-H, --home <dir> Set location of `julia` executable
--startup-file={yes|no} Load ~/.juliarc.jl
--handle-signals={yes|no} Enable or disable Julia's default signal handlers
--sysimg-native-code={yes|no}
Copy link
Member

Choose a reason for hiding this comment

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

spell this sysimage-native? (because that's how we spell it in the other option)

--sysimg-native-code={yes|no}
Use native code from system image if available
--compiled-modules={yes|no}
Enable/disable incremental precompilation of modules
Copy link
Member

Choose a reason for hiding this comment

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

"Enable or disable"

Seems like we have been writing this out

@@ -118,6 +120,9 @@ julia [switches] -- [programfile] [args...]
--color={yes|no} Enable or disable color text
--history-file={yes|no} Load or save history

--depwarn={yes|no|error} Enable or disable syntax and method deprecation warnings ("error" turns warnings into errors)
--warn-overwrite={yes|no} Enable or disable method overwrite warnings

--compile={yes|no|all|min}Enable or disable JIT compiler, or request exhaustive compilation
Copy link
Member

Choose a reason for hiding this comment

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

appears that we should add a couple spaces, or split this one over multiple lines?

@@ -109,6 +111,10 @@ static const char opts[] =
" --color={yes|no} Enable or disable color text\n"
" --history-file={yes|no} Load or save history\n\n"

// error and warning options
" --depwarn={yes|no|error} Enable or disable syntax and method deprecation warnings (\"error\" turns warnings into errors)\n"
Copy link
Member

Choose a reason for hiding this comment

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

Should we name this --warn-deprecations? (doesn't need to be the same PR though)

@JeffBezanson JeffBezanson merged commit 61c7386 into master Sep 9, 2017
@JeffBezanson JeffBezanson deleted the jb/cli1 branch September 9, 2017 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This change introduces or involves a deprecation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants