-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Make all command-line options documented in all related files #53826
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
Changes from 6 commits
2a5cee8
589b6e1
149b76c
aa44496
92a2a22
ccea314
79f1600
3c5b58f
e3693d7
c4aa34f
f39e64a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,26 +164,27 @@ The following is a complete list of command-line switches available when launchi | |
| |Switch |Description| | ||
| |:--- |:---| | ||
| |`-v`, `--version` |Display version information| | ||
| |`-h`, `--help` |Print command-line options (this message).| | ||
| |`--help-hidden` |Uncommon options not shown by `-h`| | ||
| |`-h`, `--help` |Print command-line options (this message)| | ||
| |`--help-hidden` |Print uncommon options not shown by `-h`| | ||
| |`--project[={<dir>\|@.}]` |Set `<dir>` as the active project/environment. The default `@.` option will search through parent directories until a `Project.toml` or `JuliaProject.toml` file is found.| | ||
| |`-J`, `--sysimage <file>` |Start up with the given system image file| | ||
| |`-H`, `--home <dir>` |Set location of `julia` executable| | ||
| |`--startup-file={yes*\|no}` |Load `JULIA_DEPOT_PATH/config/startup.jl`; if [`JULIA_DEPOT_PATH`](@ref JULIA_DEPOT_PATH) environment variable is unset, load `~/.julia/config/startup.jl`| | ||
| |`--handle-signals={yes*\|no}` |Enable or disable Julia's default signal handlers| | ||
| |`--sysimage-native-code={yes*\|no}` |Use native code from system image if available| | ||
| |`--compiled-modules={yes*\|no\|existing|strict}` |Enable or disable incremental precompilation of modules. The `existing` option allows use of existing compiled modules that were previously precompiled, but disallows creation of new precompile files. The `strict` option is similar, but will error if no precompile file is found. | | ||
| |`--pkgimages={yes*\|no|existing}` |Enable or disable usage of native code caching in the form of pkgimages. The `existing` option allows use of existing pkgimages but disallows creation of new ones| | ||
| |`--compiled-modules={yes*\|no\|existing\|strict}` |Enable or disable incremental precompilation of modules. The `existing` option allows use of existing compiled modules that were previously precompiled, but disallows creation of new precompile files. The `strict` option is similar, but will error if no precompile file is found. | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The added escaping ( Backport to v1.11?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Talking about this row and the row below.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gonna go ahead and label it for backport, hoping that's OK. |
||
| |`--pkgimages={yes*\|no\|existing}` |Enable or disable usage of native code caching in the form of pkgimages. The `existing` option allows use of existing pkgimages but disallows creation of new ones| | ||
| |`-e`, `--eval <expr>` |Evaluate `<expr>`| | ||
| |`-E`, `--print <expr>` |Evaluate `<expr>` and display the result| | ||
| |`-m`, `--module <Package> [args]` |Run entry point of `Package` (`@main` function) with `args'| | ||
| |`-L`, `--load <file>` |Load `<file>` immediately on all processors| | ||
| |`-t`, `--threads {N\|auto}` |Enable N threads; `auto` tries to infer a useful default number of threads to use but the exact behavior might change in the future. Currently, `auto` uses the number of CPUs assigned to this julia process based on the OS-specific affinity assignment interface, if supported (Linux and Windows). If this is not supported (macOS) or process affinity is not configured, it uses the number of CPU threads.| | ||
| |`-t`, `--threads {auto\|N[,auto\|M]}` |Enable N[+M] threads; N threads are assigned to the `default` threadpool, and if M is specified, M threads are assigned to the `interactive` threadpool; `auto` tries to infer a useful default number of threads to use but the exact behavior might change in the future. Currently sets N to the number of CPUs assigned to this Julia process based on the OS-specific affinity assignment interface if supported (Linux and Windows) or to the number of CPU threads if not supported (MacOS) or if process affinity is not configured, and sets M to 1.| | ||
| | `--gcthreads=N[,M]` |Use N threads for the mark phase of GC and M (0 or 1) threads for the concurrent sweeping phase of GC. N is set to half of the number of compute threads and M is set to 0 if unspecified.| | ||
| |`-p`, `--procs {N\|auto}` |Integer value N launches N additional local worker processes; `auto` launches as many workers as the number of local CPU threads (logical cores)| | ||
| |`--machine-file <file>` |Run processes on hosts listed in `<file>`| | ||
| |`-i` |Interactive mode; REPL runs and `isinteractive()` is true| | ||
| |`-i`, `--interactive` |Interactive mode; REPL runs and `isinteractive()` is true| | ||
| |`-q`, `--quiet` |Quiet startup: no banner, suppress REPL warnings| | ||
| |`--banner={yes\|no\|auto*}` |Enable or disable startup banner| | ||
| |`--banner={yes\|no\|short\|auto*}` |Enable or disable startup banner| | ||
| |`--color={yes\|no\|auto*}` |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)| | ||
|
|
@@ -196,12 +197,14 @@ The following is a complete list of command-line switches available when launchi | |
| |`--inline={yes\|no}` |Control whether inlining is permitted, including overriding `@inline` declarations| | ||
| |`--check-bounds={yes\|no\|auto*}` |Emit bounds checks always, never, or respect `@inbounds` declarations ($)| | ||
| |`--math-mode={ieee\|user*}` |Always follow `ieee` floating point semantics or respect `@fastmath` declarations| | ||
| |`--polly={yes*\|no}` |Enable or disable the polyhedral optimizer Polly (overrides @polly declaration)| | ||
| |`--code-coverage[={none*\|user\|all}]` |Count executions of source lines (omitting setting is equivalent to `user`)| | ||
| |`--code-coverage=@<path>` |Count executions but only in files that fall under the given file path/directory. The `@` prefix is required to select this option. A `@` with no path will track the current directory.| | ||
| |`--code-coverage=tracefile.info` |Append coverage information to the LCOV tracefile (filename supports format tokens).| | ||
| |`--track-allocation[={none*\|user\|all}]` |Count bytes allocated by each source line (omitting setting is equivalent to "user")| | ||
| |`--track-allocation=@<path>` |Count bytes but only in files that fall under the given file path/directory. The `@` prefix is required to select this option. A `@` with no path will track the current directory.| | ||
| |`--bug-report=KIND` |Launch a bug report session. It can be used to start a REPL, run a script, or evaluate expressions. It first tries to use BugReporting.jl installed in current environment and falls back to the latest compatible BugReporting.jl if not. For more information, see `--bug-report=help`.| | ||
| |`--heap-size-hint=<size>` |Forces garbage collection if memory usage is higher than the given value. The value may be specified as a number of bytes, optionally in units of KB, MB, GB, or TB, or as a percentage of physical memory with %.| | ||
| |`--compile={yes*\|no\|all\|min}` |Enable or disable JIT compiler, or request exhaustive or minimal compilation| | ||
| |`--output-o <name>` |Generate an object file (including system image data)| | ||
| |`--output-ji <name>` |Generate a system image data file (.ji)| | ||
|
|
@@ -213,7 +216,7 @@ The following is a complete list of command-line switches available when launchi | |
| |`--output-incremental={yes\|no*}` |Generate an incremental output file (rather than complete)| | ||
| |`--trace-compile={stderr,name}` |Print precompile statements for methods compiled during execution or save to a path| | ||
| |`--image-codegen` |Force generate code in imaging mode| | ||
| |`--heap-size-hint=<size>` |Forces garbage collection if memory usage is higher than the given value. The value may be specified as a number of bytes, optionally in units of KB, MB, GB, or TB, or as a percentage of physical memory with %.| | ||
| |`--permalloc-pkgimg={yes\|no*}` |Copy the data section of package images into memory| | ||
|
|
||
|
|
||
| !!! compat "Julia 1.1" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.