Fix documentation to include grep parameter to ls() netscript function

This commit is contained in:
Wraithan (Chris McDonald) 2018-02-10 12:25:13 -08:00
parent 6a3ac7165d
commit fe4a6d90f8

@ -326,9 +326,10 @@ scp
ls
^^
.. js:function:: ls(hostname/ip)
.. js:function:: ls(hostname/ip, [grep])
:param string hostname/ip: Hostname or IP of the target server
:param string grep: a substring to search for in the filename.
Returns an array with the filenames of all files on the specified server (as strings). The returned array
is sorted in alphabetic order