mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
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:
@@ -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");
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user