Skip to content
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

Mention that the = part of --project is optional. Add to regular Julia docs as well. #29731

Merged
merged 1 commit into from
Oct 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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