UI: Corrected ns.tail examples to ns.ui.openTail (#2270)

Changed to ns.ui.openTail in the example text where needed.
This commit is contained in:
gmcew
2025-07-29 21:06:32 +01:00
committed by GitHub
parent 7928800bbc
commit 952fc28b67
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -39,12 +39,12 @@ Otherwise, the PID or filename, hostname/ip, and args… arguments can be used t
```js
//Open logs from foo.js on the current server that was run with no args
ns.tail("foo.js");
ns.ui.openTail("foo.js");
//Get logs from foo.js on the foodnstuff server that was run with no args
ns.tail("foo.js", "foodnstuff");
ns.ui.openTail("foo.js", "foodnstuff");
//Get logs from foo.js on the foodnstuff server that was run with the arguments [1, "test"]
ns.tail("foo.js", "foodnstuff", 1, "test");
ns.ui.openTail("foo.js", "foodnstuff", 1, "test");
```