From 822db3090f8c144833459cb7d3ed9e0422749f5e Mon Sep 17 00:00:00 2001 From: Geert Hauwaerts Date: Wed, 30 Jul 2014 14:29:06 +0200 Subject: [PATCH] Syntax rewrite for S-commands Rewrote the syntax documentation for all commands starting with S. --- docs/help/in/save.in | 22 ++++++++++++--- docs/help/in/sconnect.in | 23 +++++++++++++-- docs/help/in/script.in | 29 +++++++++++++------ docs/help/in/scrollback.in | 45 ++++++++++++++++++++--------- docs/help/in/set.in | 38 ++++++++++++++++--------- docs/help/in/silence.in | 41 +++++++++++++++------------ docs/help/in/squit.in | 18 ++++++++++-- docs/help/in/stats.in | 58 +++++++++++++++++++++++++------------- docs/help/in/statusbar.in | 36 +++++++++++++++++++---- 9 files changed, 222 insertions(+), 88 deletions(-) diff --git a/docs/help/in/save.in b/docs/help/in/save.in index 8ab25f29..14e29172 100644 --- a/docs/help/in/save.in +++ b/docs/help/in/save.in @@ -1,10 +1,24 @@ +%9Syntax:%9 + @SYNTAX:save@ - -formats: Save all /FORMATs into theme file +%9Parameters:%9 -Saves the current Irssi configuration into the configuration -file. + -formats: Saves all the formats into the theme file. -See also: RELOAD + The file to save the configuration or theme into; if no parameter is given, + the active configuration or theme file will be used. + +%9Description:%9 + + Saves the configuration file. + +%9Examples:%9 + + /SAVE + /SAVE -formats + /SAVE ~/.irssi/config-new + +%9See also:%9 SET, RELOAD diff --git a/docs/help/in/sconnect.in b/docs/help/in/sconnect.in index ed07f4f9..47da885f 100644 --- a/docs/help/in/sconnect.in +++ b/docs/help/in/sconnect.in @@ -1,8 +1,25 @@ +%9Syntax:%9 + @SYNTAX:sconnect@ -IRC Operator command. Makes an IRC server connect -to another server. This is CONNECT on the protocol level. +%9Parameters:%9 -See also: OPER, SQUIT, RESTART + The server to connect to, the connection port and the remote server that + initiates the connection attempt. + + If no remote server is given, the server you are currently connected to will + be used. + +%9Description:%9 + + Connect a server to the IRC network; this command is restricted to IRC + operators. + +%9Examples:%9 + + /SCONNECT ircsource.irssi.org + /SCONNECT ircsource.irssi.org 6667 be.hub + +%9See also:%9 DIE, KILL, OPER, RESTART, SQUIT diff --git a/docs/help/in/script.in b/docs/help/in/script.in index 0354512b..e99dd9ba 100644 --- a/docs/help/in/script.in +++ b/docs/help/in/script.in @@ -1,19 +1,32 @@ +%9Syntax:%9 + @SYNTAX:script@ -Irssi has very powerful support for scripts written in Perl - they can extend functionality of Irssi in almost unlimited way, and they still keep the client's core unbloated, light and fast. You can control loading and execution of such scripts by this command. +%9Parameters:%9 -Without any parameters, /SCRIPT acts in same way as if you would call /SCRIPT LIST. + LIST: Displays the list of loaded scripts. + EXEC: Executes the given code. + LOAD: Loads the given script into the memory and executes it. + UNLOAD: Unloads the given script from the memory. + RESET: Unloads all the scripts. + -permanent: In combination with EXEC, the code will be loaded into the + memory. -/SCRIPT LIST displays list of all currently loaded scripts, together with full path to their source files. + If no argument is given, the list of active scripts will be displayed. -/SCRIPT EXEC executes the as a little perl script. It doesn't preserve it loaded in memory, unless -permanent is specified. +%9Description:%9 -/SCRIPT LOAD loads the