From b18c18e19a1ef065d9c286d1ffa34e5663f38a95 Mon Sep 17 00:00:00 2001 From: Undeemiss Date: Tue, 17 May 2022 15:22:37 -0500 Subject: [PATCH] Updated documentation of closeTail to reflect last commit --- src/ScriptEditor/NetscriptDefinitions.d.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index bdc1a34a8..2ed344175 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -4990,14 +4990,11 @@ export interface NS { * * If the function is called with no arguments, it will close the current script’s logs. * - * Otherwise, the fn, hostname/ip, and args… arguments can be used to close the logs from another script. - * Remember that scripts are uniquely identified by both their names and arguments. + * Otherwise, the pid argument can be used to close the logs from another script. * - * @param fn - Optional. Filename or PID of the script having its tail closed. If omitted, the current script is used. - * @param host - Optional. Hostname of the script having its tail closed. Defaults to the server this script is running on. If args are specified, this is not optional. - * @param args - Arguments for the script having its tail closed. + * @param pid - Optional. PID of the script having its tail closed. If omitted, the current script is used. */ - closeTail(fn?: FilenameOrPID, host?: string, ...args: any[]): void; + closeTail(pid?: number): void; /** * Get the list of servers connected to a server.