File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,10 @@ function process_options(args::Array{Any,1})
170
170
# see repl-readline.c
171
171
elseif args[i] == " -f" || args[i] == " --no-startup"
172
172
startup = false
173
+ elseif args[i] == " -F"
174
+ # load juliarc now before processing any more options
175
+ try include (strcat (ENV [" HOME" ]," /.juliarc.jl" )) end
176
+ startup = false
173
177
elseif args[i][1 ]!= ' -'
174
178
# program
175
179
repl = false
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ static const char *opts =
27
27
" --machinefile file Run processes on hosts listed in file\n\n"
28
28
29
29
" --no-history Don't load or save history\n"
30
- " -f --no-startup Don't load ~/.juliarc.jl\n\n"
30
+ " -f --no-startup Don't load ~/.juliarc.jl\n"
31
+ " -F Load ~/.juliarc.jl, then handle remaining inputs\n\n"
31
32
32
33
" -h --help Print this message\n" ;
33
34
You can’t perform that action at this time.
0 commit comments