Add -out parameter to /CAT

Change flag to -window

Updated help

Typo

call printtext with server

Only use server when target is not NULL
This commit is contained in:
vague666 2019-03-22 12:30:46 +01:00
commit d45993dba4
2 changed files with 18 additions and 8 deletions

View file

@ -5,19 +5,22 @@
%9Parameters:%9
-window: Displays the output in the active window.
The file to display and optionally a position to seek in the file,
in bytes.
%9Description:%9
Displays the contents of the specified file into the active window.
Displays the contents of the specified file in the active window if -window
is specified, otherwise to the closest matching window depending on levels.
The seek position parameter is used internally to display away logs, if
omitted the whole file is shown.
%9Examples:%9
/CAT /etc/network/interfaces
/CAT -window /etc/network/interfaces
/CAT /home/mike/resume.txt
/CAT contact_details.txt