mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
doc: remove "optional" for arguments of function register (scripting guide)
This commit is contained in:
@@ -99,9 +99,10 @@ Arguments:
|
||||
* 'version': string, script version
|
||||
* 'license': string, script license
|
||||
* 'description': string, short description of script
|
||||
* 'shutdown_function': string, name of function called when script is unloaded (optional)
|
||||
* 'charset': string, script charset (optional, if your script is UTF-8, you
|
||||
can use blank value here, because UTF-8 is default charset)
|
||||
* 'shutdown_function': string, name of function called when script is unloaded
|
||||
(can be empty string)
|
||||
* 'charset': string, script charset (if your script is UTF-8, you can use blank
|
||||
value here, because UTF-8 is default charset)
|
||||
|
||||
Example of script, for each language:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user