Skip to content

Commit

Permalink
Tweak FAQ answer for passing julia options in a script file.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Dec 4, 2019
1 parent 5a9cce1 commit 438138a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/src/manual/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ use `exec` to replace the process to `julia`:
```julia
#!/bin/bash
#=
exec julia --color=yes --startup-file=no -e 'include(popfirst!(ARGS))' \
"${BASH_SOURCE[0]}" "$@"
exec julia --color=yes --startup-file=no "${BASH_SOURCE[0]}" "$@"
=#

@show ARGS # put any Julia code here
Expand Down

0 comments on commit 438138a

Please sign in to comment.