Merge pull request #190 from wraithan/fix-ls-txt

Fix some stuff with ls() and cat
This commit is contained in:
danielyxie
2018-02-16 15:03:06 -06:00
committed by GitHub
4 changed files with 24 additions and 5 deletions
+2 -1
View File
@@ -346,9 +346,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