Update autocomplete.rst

Removed references to .ns
This commit is contained in:
KenJohansson 2022-01-07 18:46:47 +01:00 committed by GitHub
parent a2288b035d
commit d015f7bca1
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