diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-27 08:45:06 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-27 08:45:06 +0200 |
commit | 1acaa0ebd30f292d19798221f1a265066e25ba85 (patch) | |
tree | 550db5324515619b2ddf15e58ba9e0fb4d79a2e3 /doc | |
parent | 11f40676adc66bccd9abafecf2e0fd9063485268 (diff) | |
download | weechat-1acaa0ebd30f292d19798221f1a265066e25ba85.zip |
alias: improve /help alias: display many <command> in command synopsis
Diffstat (limited to 'doc')
-rw-r--r-- | doc/de/autogen/user/alias_commands.txt | 43 | ||||
-rw-r--r-- | doc/en/autogen/user/alias_commands.txt | 5 | ||||
-rw-r--r-- | doc/fr/autogen/user/alias_commands.txt | 5 | ||||
-rw-r--r-- | doc/it/autogen/user/alias_commands.txt | 43 |
4 files changed, 46 insertions, 50 deletions
diff --git a/doc/de/autogen/user/alias_commands.txt b/doc/de/autogen/user/alias_commands.txt index d2a90e9a2..4061201e0 100644 --- a/doc/de/autogen/user/alias_commands.txt +++ b/doc/de/autogen/user/alias_commands.txt @@ -1,34 +1,33 @@ [[command_alias_alias]] [command]*`alias`* Einem Befehl wird ein Alias zugewiesen:: ........................................ -/alias [-completion <completion>] <alias> [<command> [<arguments>]] +/alias [-completion <completion>] <alias> [<command> [;<command>...]] -completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet) - alias: Name des Alias (kann mit Joker "*" beginnen oder enden um Aliase aufzulisten) - command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle müssen durch Semikolon getrennt werden) - arguments: Argumente für Befehl +completion: completion for alias (optional, by default completion is done with target command) + alias: name of alias (can start or end with "*" for alias listing) + command: command name with arguments (many commands can be separated by semicolons) -Ohne Angabe von Argumenten werden alle definierten Aliase angezeigt. +Without argument, this command lists all defined alias. -Anmerkung: im Befehl können Variablen gesetzt werden, die dann durch den entsprechenden Wert ersetzt werden: - $n: Argument 'n' (zwischen 1 und 9) - $-m: Argumente von 1 bis 'm' - $n-: Argumente von 'n' bis zum letzten Argument - $n-m: Argumente von 'n' bis 'm' - $*: alle Argumente - $~: letztes Argument - $nick: aktueller Nick - $channel: aktueller Channel - $server: aktueller Server +Note: in command, special variables are replaced: + $n: argument 'n' (between 1 and 9) + $-m: arguments from 1 to 'm' + $n-: arguments from 'n' to last + $n-m: arguments from 'n' to 'm' + $*: all arguments + $~: last argument + $nick: current nick + $channel: current channel + $server: current server -Um ein Alias zu löschen, nutze "/unalias". +To remove an alias, use command /unalias. -Beispiele: - Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen: +Examples: + alias /split to split window horizontally: /alias split /window splith - Alias "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben: - /alias hallo /allchan -exclude=#weechat msg * Hallo - Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen: + alias /hello to say "hello" on all channels but not on #weechat: + /alias hello /allchan -exclude=#weechat msg * hello + alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias -completion %%sajoin forcejoin /quote forcejoin ........................................ diff --git a/doc/en/autogen/user/alias_commands.txt b/doc/en/autogen/user/alias_commands.txt index 8b80221e7..c7ca1d749 100644 --- a/doc/en/autogen/user/alias_commands.txt +++ b/doc/en/autogen/user/alias_commands.txt @@ -1,12 +1,11 @@ [[command_alias_alias]] [command]*`alias`* create an alias for a command:: ........................................ -/alias [-completion <completion>] <alias> [<command> [<arguments>]] +/alias [-completion <completion>] <alias> [<command> [;<command>...]] completion: completion for alias (optional, by default completion is done with target command) alias: name of alias (can start or end with "*" for alias listing) - command: command name (many commands can be separated by semicolons) - arguments: arguments for command + command: command name with arguments (many commands can be separated by semicolons) Without argument, this command lists all defined alias. diff --git a/doc/fr/autogen/user/alias_commands.txt b/doc/fr/autogen/user/alias_commands.txt index 780ccb816..0a7c73f1a 100644 --- a/doc/fr/autogen/user/alias_commands.txt +++ b/doc/fr/autogen/user/alias_commands.txt @@ -1,12 +1,11 @@ [[command_alias_alias]] [command]*`alias`* créer un alias pour une commande:: ........................................ -/alias [-completion <complétion>] alias [<commande> [<paramètres>]] +/alias [-completion <complétion>] alias [<commande> [;<commande>...]] complétion: complétion pour l'alias (optionnel, par défaut la complétion se fait avec la commande cible) alias: nom de l'alias (peut démarrer ou se terminer par "*" pour une liste d'alias) - commande: nom de la commande (plusieurs commandes peuvent être séparées par des point-virgules) -paramètres: paramètres pour la commande + commande: nom de la commande avec les paramètres (plusieurs commandes peuvent être séparées par des point-virgules) Sans paramètre, cette commande liste tous les alias définis. diff --git a/doc/it/autogen/user/alias_commands.txt b/doc/it/autogen/user/alias_commands.txt index 33c43ccd0..75bc9d728 100644 --- a/doc/it/autogen/user/alias_commands.txt +++ b/doc/it/autogen/user/alias_commands.txt @@ -1,34 +1,33 @@ [[command_alias_alias]] [command]*`alias`* crea un alias per un comando:: ........................................ -/alias [-completion <completamento>] <alias> [<comando> [<argomenti>]] +/alias [-completion <completion>] <alias> [<command> [;<command>...]] -completion: completamento per l'alias (opzionale, il completamento viene fatto con il comando di destinazione in maniera predefinita) - alias: nome dell'alias (può iniziare o terminare con "*" per elencare gli alias) - command: command name (many commands can be separated by semicolons) - arguments: argomenti per il comando +completion: completion for alias (optional, by default completion is done with target command) + alias: name of alias (can start or end with "*" for alias listing) + command: command name with arguments (many commands can be separated by semicolons) -Senza argomento, questo comando elenca tutti gli alias definiti. +Without argument, this command lists all defined alias. -Nota: nel comando, vengono sostituite le variabili speciali: - $n: argomento 'n' (tra 1 e 9) - $-m: argomenti da 1 a 'm' - $n-: argomenti da 'n' all'ultimo - $n-m: argomenti da 'n' a 'm' - $*: tutti gli argomenti - $~: l'ultimo argomento - $nick: nick corrente - $channel: canale corrente - $server: server corrente +Note: in command, special variables are replaced: + $n: argument 'n' (between 1 and 9) + $-m: arguments from 1 to 'm' + $n-: arguments from 'n' to last + $n-m: arguments from 'n' to 'm' + $*: all arguments + $~: last argument + $nick: current nick + $channel: current channel + $server: current server -Per rimuovere un alias, usare il comando /unalias. +To remove an alias, use command /unalias. -Esempi: - alias /split per dividere la finestra orizzontalmente: +Examples: + alias /split to split window horizontally: /alias split /window splith - alias /ciao per dire "ciao" su tutti i canali tranne #weechat: - /alias ciao /allchan -exclude=#weechat msg * ciao - alias /forcejoin per inviare il comando IRC "forcejoin" con il completamento di /sajoin: + alias /hello to say "hello" on all channels but not on #weechat: + /alias hello /allchan -exclude=#weechat msg * hello + alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias -completion %%sajoin forcejoin /quote forcejoin ........................................ |