Skip to content

Commit a476ac4

Browse files
committed
Fix some typos and link possible exeflags.
1 parent 01e91e2 commit a476ac4

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

doc/src/manual/command-line-interface.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The following is a complete list of command-line switches available when launchi
131131
|`--track-allocation[={none*\|user\|all}]` |Count bytes allocated by each source line (omitting setting is equivalent to "user")|
132132
|`--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.|
133133
|`--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`.|
134-
|`--heap-size-hint=<size>` |Forces garbage collection if memory usage is higher than that value. The memory hint might be specified in megabytes(500M) or gigabytes(1G)."
134+
|`--heap-size-hint=<size>` |Forces garbage collection if memory usage is higher than that value. The memory hint might be specified in megabytes (500M) or gigabytes (1G).|
135135
|`--compile={yes*\|no\|all\|min}` |Enable or disable JIT compiler, or request exhaustive or minimal compilation|
136136
|`--output-o <name>` |Generate an object file (including system image data)|
137137
|`--output-ji <name>` |Generate a system image data file (.ji)|

doc/src/manual/distributed-computing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ Module [`Distributed`](@ref man-distributed) must be explicitly loaded on the ma
271271
It is automatically made available on the worker processes.
272272

273273
!!! note
274-
Note that workers do not run a `~/.julia/config/startup.jl` startup script, nor do they synchronize
275-
their global state (such as command-line switches, global variables, new method definitions, and loaded modules) with any
276-
of the other running processes. You may use `addprocs(exeflags="--project")` to initialize a worker with
277-
a particular environment, and then `@everywhere using <modulename>` or `@everywhere include("file.jl")`.
274+
Note that workers do not run a `~/.julia/config/startup.jl` startup script, nor do they synchronize
275+
their global state (such as command-line switches, global variables, new method definitions, and loaded modules) with any
276+
of the other running processes. You may use `addprocs(exeflags="--project")` to initialize a worker with
277+
a particular environment, and then `@everywhere using <modulename>` or `@everywhere include("file.jl")`.
278278

279279
Other types of clusters can be supported by writing your own custom `ClusterManager`, as described
280280
below in the [ClusterManagers](@ref) section.

stdlib/Distributed/src/managers.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ addprocs([
111111
version is used on all remote machines because serialization and code distribution might
112112
fail otherwise.
113113
114-
* `exeflags`: additional flags passed to the worker processes.
114+
* `exeflags`: additional [command-line switches](@ref command-line-interface) passed to the worker processes.
115115
116116
* `topology`: Specifies how the workers connect to each other. Sending a message between
117117
unconnected workers results in an error.
@@ -451,7 +451,9 @@ Local workers inherit the current package environment (i.e., active project,
451451
[`LOAD_PATH`](@ref), and [`DEPOT_PATH`](@ref)) from the main process.
452452
453453
!!! warning
454-
Local workers do not run a `~/.julia/config/startup.jl` startup script, nor do they synchronize their global state.
454+
Note that workers do not run a `~/.julia/config/startup.jl` startup script, nor do they synchronize
455+
their global state (such as command-line switches, global variables, new method definitions, and loaded modules) with any
456+
of the other running processes.
455457
456458
**Keyword arguments**:
457459
- `restrict::Bool`: if `true` (default) binding is restricted to `127.0.0.1`.

0 commit comments

Comments
 (0)