Syntax: invalid operator "--"

Hello,
I am trying to use the command “–threads” in Julia but I got the below error. Any idea for let it run?
Thanks

julia> --threads 4
ERROR: syntax: invalid operator “–”
Stacktrace:
[1] top-level scope
@ none:1

That is a command line argument that you use when you are starting Julia, eg at the command line you type

julia --threads 4

You cannot change the number of threads after Julia has been started.

1 Like

Thank you very much tbeason! I got it and yes it works