Merge pull request #2435 from KenJohansson/patch-4

Update autocomplete.rst
This commit is contained in:
hydroflame 2022-01-07 12:49:55 -05:00 committed by GitHub
commit c54c0751d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ autocomplete() Netscript Function
:RAM cost: 0 GB
:param Object data: general data about the game you might want to autocomplete.
:param string[] args: current arguments. Minus `run script.ns`
:param string[] args: current arguments. Minus `run script.js`
data is an object with the following properties::
@ -34,6 +34,6 @@ autocomplete() Netscript Function
.. code-block:: bash
$ run demo.ns mega\t
$ run demo.js mega\t
// results in
$ run demo.ns megacorp
$ run demo.js megacorp