diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-25 08:55:24 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-25 08:55:24 +0000 |
commit | 364d774ded1816523fb7ddcf5ca0ee6442612b2e (patch) | |
tree | b5ac4664d92806a20199a00c2ab7a0013a09425f /doc | |
parent | 6972b057d9fb640eead8231f695baf29d906674c (diff) | |
download | weechat-364d774ded1816523fb7ddcf5ca0ee6442612b2e.zip |
Added new command line argument for setting WeeChat homedir (-d or --dir) (patch from Gwenn)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/config.xml | 4 | ||||
-rw-r--r-- | doc/en/weechat.en.xml | 15 | ||||
-rw-r--r-- | doc/fr/config.xml | 8 | ||||
-rw-r--r-- | doc/fr/weechat.fr.xml | 16 | ||||
-rw-r--r-- | doc/weechat-curses.1 | 4 |
5 files changed, 41 insertions, 6 deletions
diff --git a/doc/en/config.xml b/doc/en/config.xml index 7d5a14dd2..6b7eb85d0 100644 --- a/doc/en/config.xml +++ b/doc/en/config.xml @@ -739,7 +739,7 @@ <entry>string</entry> <entry>any string</entry> <entry></entry> - <entry>Path for WeeChat log files</entry> + <entry>Path for WeeChat log files ('%h' will be replaced by WeeChat home, ~/.weechat by default)</entry> </row> <row> <entry><option>log_timestamp</option></entry> @@ -977,7 +977,7 @@ <entry>string</entry> <entry>any string</entry> <entry></entry> - <entry>Path for searching plugins</entry> + <entry>Path for searching plugins ('%h' will be replaced by WeeChat home, ~/.weechat by default)</entry> </row> <row> <entry><option>plugins_autoload</option></entry> diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml index a4bd8714c..c7471c644 100644 --- a/doc/en/weechat.en.xml +++ b/doc/en/weechat.en.xml @@ -331,6 +331,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA </entry> </row> <row> + <entry><literal>-d, --dir <path></literal></entry> + <entry> + Set path as home for WeeChat (used for configuration files, + logs, user plugins and scripts). Default value is + "<literal>~/.weechat</literal>". Please note that directory + is created if not found by WeeChat. + </entry> + </row> + <row> <entry><literal>-f, --key-functions</literal></entry> <entry> Display WeeChat internal functions for keys @@ -3593,6 +3602,12 @@ Weechat.set_plugin_config ("my_var", "value") patches </para> </listitem> + <listitem> + <para> + <emphasis>Gwenn</emphasis> - + patches + </para> + </listitem> </itemizedlist> </para> diff --git a/doc/fr/config.xml b/doc/fr/config.xml index 45ed0498b..6ab824ce1 100644 --- a/doc/fr/config.xml +++ b/doc/fr/config.xml @@ -738,8 +738,8 @@ <entry><option>log_path</option></entry> <entry>chaîne</entry> <entry>toute chaîne</entry> - <entry>'~/.weechat/logs/'</entry> - <entry>Chemin pour les conversations sauvegardées par WeeChat</entry> + <entry>'%h/logs/'</entry> + <entry>Chemin pour les conversations sauvegardées par WeeChat ('%h' sera remplacé par le répertoire de base WeeChat, par défaut: ~/.weechat)</entry> </row> <row> <entry><option>log_timestamp</option></entry> @@ -976,8 +976,8 @@ <entry><option>plugins_path</option></entry> <entry>chaîne</entry> <entry>toute chaîne</entry> - <entry>'~/.weechat/plugins'</entry> - <entry>Chemin de recherche des extensions</entry> + <entry>'%h/plugins'</entry> + <entry>Chemin de recherche des extensions ('%h' sera remplacé par le répertoire de base WeeChat, par défaut: ~/.weechat)</entry> </row> <row> <entry><option>plugins_autoload</option></entry> diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml index 74fc577e1..3c77a4775 100644 --- a/doc/fr/weechat.fr.xml +++ b/doc/fr/weechat.fr.xml @@ -337,6 +337,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA </entry> </row> <row> + <entry><literal>-d, --dir <répertoire></literal></entry> + <entry> + Définir le répertoire comme étant la base de WeeChat + (utilisé pour les fichiers de configuration, logs, extensions + et scripts de l'utilisateur). La valeur par défaut est + "<literal>~/.weechat</literal>". NB: le répertoire est créé + s'il n'est pas trouvé par WeeChat. + </entry> + </row> + <row> <entry><literal>-f, --key-functions</literal></entry> <entry> Afficher la liste des fonctions internes WeeChat pour les touches @@ -3654,6 +3664,12 @@ Weechat.set_plugin_config ("ma_variable", "valeur") patchs </para> </listitem> + <listitem> + <para> + <emphasis>Gwenn</emphasis> - + patchs + </para> + </listitem> </itemizedlist> </para> diff --git a/doc/weechat-curses.1 b/doc/weechat-curses.1 index 757b7a09a..c05bfdd72 100644 --- a/doc/weechat-curses.1 +++ b/doc/weechat-curses.1 @@ -27,6 +27,10 @@ disable auto-connect to servers at startup .br display config file help (list of options) .TP +.B \-d, \-\-dir <dir> +.br +set WeeChat home dir +.TP .B \-f, \-\-key\-functions .br display internal functions for keys |