-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Conversation
doc/src/manual/getting-started.md
Outdated
-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} |
There was a problem hiding this comment.
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)
doc/src/manual/getting-started.md
Outdated
--sysimg-native-code={yes|no} | ||
Use native code from system image if available | ||
--compiled-modules={yes|no} | ||
Enable/disable incremental precompilation of modules |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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)
also rearrange help text a bit part of #23054
00b5fe6
to
d204150
Compare
--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