summaryrefslogtreecommitdiff
path: root/docs/help/in/echo.in
diff options
context:
space:
mode:
authorGeert Hauwaerts <geert@hauwaerts.be>2014-07-03 21:42:37 +0200
committerGeert Hauwaerts <geert@hauwaerts.be>2014-07-03 21:42:37 +0200
commitf295a02cdafff01d7b7161f62bf8a2327fbb10fa (patch)
treeb51e93b068ed2931cba35e89dba33ea54eb8e170 /docs/help/in/echo.in
parent037fae0ed567eedefe5550d0688cf5b42a53b6c7 (diff)
downloadirssi-f295a02cdafff01d7b7161f62bf8a2327fbb10fa.zip
Syntax documentation rewrite for E-commands
Rewrote the syntax documentation for commands starting with the letter E.
Diffstat (limited to 'docs/help/in/echo.in')
-rw-r--r--docs/help/in/echo.in22
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/help/in/echo.in b/docs/help/in/echo.in
index 0a70e354..a730e282 100644
--- a/docs/help/in/echo.in
+++ b/docs/help/in/echo.in
@@ -1,5 +1,25 @@
+%9Syntax:%9
+
@SYNTAX:echo@
-Prints text into the current window. Useful for scripts.
+%9Parameters:%9
+
+ -current: Displays the output in the active window.
+ -window: Displays the ouput in the target window.
+ -level: Displays the output with a given message level.
+
+ The text ouput; if no target is given, the active window will be used.
+
+%9Description:%9
+
+ Displays the given text.
+
+%9Examples:%9
+
+ /ECHO 1 + 1 = 2 :D
+ /ECHO -current Testing the ECHO command
+ /ECHO -window #irssi Special variables such as ${N} will not be expanded.
+
+%9See also:%9 CAT, EVAL, EXEC, LEVELS