Update spawn.rst

Code example comment represented passing '10' as an arg to the script, when actually it's the number of threads so a `-t 10` flag.  Fixed the comment to show this.
This commit is contained in:
ChrissiQ 2022-01-23 01:06:06 -07:00 committed by GitHub
parent 8f6e762107
commit e175faecd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,4 +23,4 @@ spawn() Netscript Function
.. code-block:: javascript
spawn('foo.script', 10, 'foodnstuff', 90); // "run foo.script 10 foodnstuff 90" in 10 seconds.
spawn('foo.script', 10, 'foodnstuff', 90); // "run foo.script foodnstuff 90 -t 10" in 10 seconds.