mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Merge pull request #2435 from KenJohansson/patch-4
Update autocomplete.rst
This commit is contained in:
commit
c54c0751d8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user