Skip to content

Commit

Permalink
Mention that the = part of --project is optional. Add to regular …
Browse files Browse the repository at this point in the history
…Julia docs as well. (#29731)
  • Loading branch information
simonbyrne authored and fredrikekre committed Oct 20, 2018
1 parent 2885b62 commit 44dd917
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions doc/man/julia.1
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ Display version information
Print help message

.TP
--project=<dir>/@.
Set <dir> as the home project/environment. The @. option will search through
parent directories until a Project.toml or JuliaProject.toml file is found.
--project[=<dir>/@.]
Set <dir> as the home project/environment. The default @. option will search
through parent directories until a Project.toml or JuliaProject.toml file is
found.

.TP
-J, --sysimage <file>
Expand Down
1 change: 1 addition & 0 deletions doc/src/manual/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ julia [switches] -- [programfile] [args...]
|:--- |:---|
|`-v`, `--version` |Display version information|
|`-h`, `--help` |Print this message|
|`--project[={<dir>|@.}]` |Set <dir> as the home 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/config/startup.jl`|
Expand Down
2 changes: 1 addition & 1 deletion src/jloptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static const char opts[] =
" -h, --help Print this message\n\n"

// startup options
" --project=<dir>/@. Set <dir> as the home project/environment\n"
" --project[={<dir>|@.}] Set <dir> as the home project/environment\n"
" -J, --sysimage <file> Start up with the given system image file\n"
" -H, --home <dir> Set location of `julia` executable\n"
" --startup-file={yes|no} Load `~/.julia/config/startup.jl`\n"
Expand Down

0 comments on commit 44dd917

Please sign in to comment.