Merge pull request #4080 from njalooo/patch-1

DOCUMENTATION: Fixed Argument order for scp()
This commit is contained in:
hydroflame 2022-09-23 00:47:11 -03:00 committed by GitHub
commit 1917e21537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -45,7 +45,7 @@ files.
Absolute vs Relative Paths Absolute vs Relative Paths
^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
Many Terminal commands accept absolute both absolute and relative paths for specifying a Many Terminal commands accept both absolute and relative paths for specifying a
file. file.
An absolute path specifies the location of the file from the root directory (/). An absolute path specifies the location of the file from the root directory (/).

@ -1,7 +1,7 @@
scp() Netscript Function scp() Netscript Function
======================== ========================
.. js:function:: scp(files[, source], destination) .. js:function:: scp(files, destination [, source])
:RAM cost: 0.6 GB :RAM cost: 0.6 GB
:param string/array files: Filename or an array of filenames of script/literature files to copy :param string/array files: Filename or an array of filenames of script/literature files to copy