Skip to content

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

--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?

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

3 participants