diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-29 22:43:14 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-29 22:43:14 +0000 |
commit | a114b7adc32bdc33a2f00d78a232196d7d65aa20 (patch) | |
tree | 0244af6e7aff437e618a44e99688283a906b0a78 | |
parent | 8e696af49a89028e544fc7117e24214b62a88e53 (diff) | |
download | weechat-a114b7adc32bdc33a2f00d78a232196d7d65aa20.zip |
Fixed arguments for "get_info" function
-rw-r--r-- | doc/weechat_doc_en.texi | 12 | ||||
-rw-r--r-- | doc/weechat_doc_es.texi | 12 | ||||
-rw-r--r-- | doc/weechat_doc_fr.texi | 13 | ||||
-rw-r--r-- | doc/weechat_doc_pt.texi | 12 | ||||
-rw-r--r-- | weechat/doc/weechat_doc_en.texi | 12 | ||||
-rw-r--r-- | weechat/doc/weechat_doc_es.texi | 12 | ||||
-rw-r--r-- | weechat/doc/weechat_doc_fr.texi | 13 | ||||
-rw-r--r-- | weechat/doc/weechat_doc_pt.texi | 12 |
8 files changed, 40 insertions, 58 deletions
diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index 651dbdda5..37316b4fc 100644 --- a/doc/weechat_doc_en.texi +++ b/doc/weechat_doc_en.texi @@ -2015,7 +2015,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2034,7 +2034,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2045,8 +2044,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2553,8 +2552,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2573,7 +2572,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* diff --git a/doc/weechat_doc_es.texi b/doc/weechat_doc_es.texi index ba282d9b7..be45559aa 100644 --- a/doc/weechat_doc_es.texi +++ b/doc/weechat_doc_es.texi @@ -2018,7 +2018,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2037,7 +2037,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2048,8 +2047,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2550,8 +2549,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2570,7 +2569,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* diff --git a/doc/weechat_doc_fr.texi b/doc/weechat_doc_fr.texi index f685e182f..a8621a8e4 100644 --- a/doc/weechat_doc_fr.texi +++ b/doc/weechat_doc_fr.texi @@ -2036,7 +2036,7 @@ Aucune.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Renvoie une information sur WeeChat ou un canal.@* @@ -2058,8 +2058,6 @@ syst@`eme de partage WeeChat @end itemize @item @option{server}: nom du serveur o@`u r@'ecup@'erer l'information (ni n@'ecessaire) -@item @option{channel}: nom du canal o@`u r@'ecup@'erer l'information -(si n@'ecessaire) @end itemize @* @emph{Valeur renvoy@'ee :}@* @@ -2070,8 +2068,8 @@ NB: le r@'esultat doit @^etre lib@'er@'e par un appel @`a la fonction @* @emph{Exemples :}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2589,8 +2587,8 @@ envoyer au canal) @* @item -Perl: @command{weechat::get_info ( nom, [serveur, [canal] ] );}@* -Python: @command{weechat.get_info ( nom, [serveur, [canal] ] )}@* +Perl: @command{weechat::get_info ( nom, [serveur] );}@* +Python: @command{weechat.get_info ( nom, [serveur] )}@* @* Obtenir des informations vari@'ees sur WeeChat, le serveur ou l'utilisateur.@* @@ -2611,7 +2609,6 @@ syst@`eme de WeeChat syst@`eme de partage WeeChat @end itemize @item @option{serveur}: nom interne du serveur -@item @option{canal}: nom du canal @end itemize @* @emph{Valeur renvoy@'ee :}@* diff --git a/doc/weechat_doc_pt.texi b/doc/weechat_doc_pt.texi index d85102d87..b0feeedaa 100644 --- a/doc/weechat_doc_pt.texi +++ b/doc/weechat_doc_pt.texi @@ -2013,7 +2013,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2032,7 +2032,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2043,8 +2042,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2545,8 +2544,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2565,7 +2564,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* diff --git a/weechat/doc/weechat_doc_en.texi b/weechat/doc/weechat_doc_en.texi index 651dbdda5..37316b4fc 100644 --- a/weechat/doc/weechat_doc_en.texi +++ b/weechat/doc/weechat_doc_en.texi @@ -2015,7 +2015,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2034,7 +2034,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2045,8 +2044,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2553,8 +2552,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2573,7 +2572,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* diff --git a/weechat/doc/weechat_doc_es.texi b/weechat/doc/weechat_doc_es.texi index ba282d9b7..be45559aa 100644 --- a/weechat/doc/weechat_doc_es.texi +++ b/weechat/doc/weechat_doc_es.texi @@ -2018,7 +2018,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2037,7 +2037,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2048,8 +2047,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2550,8 +2549,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2570,7 +2569,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* diff --git a/weechat/doc/weechat_doc_fr.texi b/weechat/doc/weechat_doc_fr.texi index f685e182f..a8621a8e4 100644 --- a/weechat/doc/weechat_doc_fr.texi +++ b/weechat/doc/weechat_doc_fr.texi @@ -2036,7 +2036,7 @@ Aucune.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Renvoie une information sur WeeChat ou un canal.@* @@ -2058,8 +2058,6 @@ syst@`eme de partage WeeChat @end itemize @item @option{server}: nom du serveur o@`u r@'ecup@'erer l'information (ni n@'ecessaire) -@item @option{channel}: nom du canal o@`u r@'ecup@'erer l'information -(si n@'ecessaire) @end itemize @* @emph{Valeur renvoy@'ee :}@* @@ -2070,8 +2068,8 @@ NB: le r@'esultat doit @^etre lib@'er@'e par un appel @`a la fonction @* @emph{Exemples :}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2589,8 +2587,8 @@ envoyer au canal) @* @item -Perl: @command{weechat::get_info ( nom, [serveur, [canal] ] );}@* -Python: @command{weechat.get_info ( nom, [serveur, [canal] ] )}@* +Perl: @command{weechat::get_info ( nom, [serveur] );}@* +Python: @command{weechat.get_info ( nom, [serveur] )}@* @* Obtenir des informations vari@'ees sur WeeChat, le serveur ou l'utilisateur.@* @@ -2611,7 +2609,6 @@ syst@`eme de WeeChat syst@`eme de partage WeeChat @end itemize @item @option{serveur}: nom interne du serveur -@item @option{canal}: nom du canal @end itemize @* @emph{Valeur renvoy@'ee :}@* diff --git a/weechat/doc/weechat_doc_pt.texi b/weechat/doc/weechat_doc_pt.texi index d85102d87..b0feeedaa 100644 --- a/weechat/doc/weechat_doc_pt.texi +++ b/weechat/doc/weechat_doc_pt.texi @@ -2013,7 +2013,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2032,7 +2032,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2043,8 +2042,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2545,8 +2544,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2565,7 +2564,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* |