mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
core: add option "diff" for command /set (list options with changed value)
This commit is contained in:
committed by
Sebastien Helleu
parent
0e726b43ef
commit
a67d97f16e
@@ -605,23 +605,29 @@ Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweite
|
||||
[command]*`set`* Konfigurationsparameter setzen::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: Name der zu ändernden Option (darf mit einem Joker '*' beginnen oder enden um mehrere Optionen anzuzeigen)
|
||||
value: neuer Wert, den die Option erhalten soll
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
|
||||
boolean: on, off oder toggle
|
||||
integer: Anzahl, ++Anzahl oder --Anzahl
|
||||
string : jede Zeichenkette ("" für eine leere Zeichenkette)
|
||||
color : Name einer Farbe, ++Anzahl oder --Anzahl
|
||||
New value can be, according to variable type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
string: any string ("" for empty string)
|
||||
color: color name, ++number or --number
|
||||
|
||||
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
Beispiele:
|
||||
Zeigt alle Optionen an die etwas mit highlight zu tun haben:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
Fügt ein highlight-Wort hinzu:
|
||||
add a word to highlight:
|
||||
/set weechat.look.highlight "word"
|
||||
display changed options:
|
||||
/set diff
|
||||
display changed options in irc plugin:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
|
||||
@@ -605,15 +605,17 @@ Without argument, all files (WeeChat and plugins) are saved.
|
||||
[command]*`set`* set config options::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
New value can be, according to variable type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
string : any string ("" for empty string)
|
||||
color : color name, ++number or --number
|
||||
string: any string ("" for empty string)
|
||||
color: color name, ++number or --number
|
||||
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
@@ -622,6 +624,10 @@ Examples:
|
||||
/set *highlight*
|
||||
add a word to highlight:
|
||||
/set weechat.look.highlight "word"
|
||||
display changed options:
|
||||
/set diff
|
||||
display changed options in irc plugin:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
|
||||
@@ -605,14 +605,16 @@ Sans paramètre, tous les fichiers (WeeChat et extensions) sont sauvegardés.
|
||||
[command]*`set`* modifier des options de configuration::
|
||||
........................................
|
||||
/set [<option> [<valeur>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: nom d'une option (peut démarrer ou se terminer par '*' pour lister plusieurs options)
|
||||
valeur: nouvelle valeur pour l'option
|
||||
diff: afficher seulement les options modifiées
|
||||
|
||||
La nouvelle valeur peut être, selon le type de l'option:
|
||||
booléen: on, off ou toggle
|
||||
entier : nombre, ++nombre ou --nombre
|
||||
chaîne : toute chaîne ("" pour une chaîne vide)
|
||||
entier: nombre, ++nombre ou --nombre
|
||||
chaîne: toute chaîne ("" pour une chaîne vide)
|
||||
couleur: nom de couleur, ++nombre ou --nombre
|
||||
|
||||
Pour tous les types, vous pouvez utiliser null pour supprimer la valeur de l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options spéciales des extensions.
|
||||
@@ -622,6 +624,10 @@ Exemples:
|
||||
/set *highlight*
|
||||
ajouter un mot pour le highlight:
|
||||
/set weechat.look.highlight "mot"
|
||||
afficher les options modifiées:
|
||||
/set diff
|
||||
afficher les options modifiées dans l'extension irc:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
|
||||
@@ -604,24 +604,30 @@ Senza argomento, vengono salvati tutti i file (WeeChat e plugin).
|
||||
[[command_weechat_set]]
|
||||
[command]*`set`* imposta le opzioni di configurazione::
|
||||
........................................
|
||||
/set [<opzione> [<valore>]]
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
opzione: nome di un'opzione (può iniziare o terminare con '*' per elencare più opzioni)
|
||||
valore: nuovo valore per l'opzione
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
Il nuovo valore può essere, a seconda del tipo di variabile:
|
||||
booleano: on, off o toggle
|
||||
intero : numero, ++numero o --numero
|
||||
stringa : qualsiasi stringa ("" per una stringa vuota)
|
||||
colore : nome colore, ++numeero o --numero
|
||||
New value can be, according to variable type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
string: any string ("" for empty string)
|
||||
color: color name, ++number or --number
|
||||
|
||||
Per tutti i tipi, è possibile usare null per rimuovere il valore dell'opzione (valore non definito). Ciò funziona solo per alcune variabili speciali dei plugin.
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
Esempi:
|
||||
mostra le opzioni relative alle notifiche:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
aggiunge una parola alle notifiche:
|
||||
add a word to highlight:
|
||||
/set weechat.look.highlight "word"
|
||||
display changed options:
|
||||
/set diff
|
||||
display changed options in irc plugin:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
|
||||
@@ -605,23 +605,29 @@ file: 保存する設定ファイル (拡張子 ".conf" は不要)
|
||||
[command]*`set`* オプションの設定::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: オプションの名前 (多くのオプションをリストアップするには、'*' で始めるか終わるかしてください)
|
||||
value: オプションに対する新しい値
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
新しいオプションは以下の変数型に従います:
|
||||
boolean: on、off、toggle
|
||||
integer: 番号、++番号、--番号
|
||||
string : 任意の文字列 (空文字列は "")
|
||||
color : 色の名前、++色番号、--色番号
|
||||
New value can be, according to variable type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
string: any string ("" for empty string)
|
||||
color: color name, ++number or --number
|
||||
|
||||
どんな型であっても、オプションの値を削除する (未定義値にする) には null が使えます。これはいくつかの特別なプラグイン変数でのみ有効です。
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
例:
|
||||
ハイライトに関するオプションを表示:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
highlight に単語を追加:
|
||||
add a word to highlight:
|
||||
/set weechat.look.highlight "word"
|
||||
display changed options:
|
||||
/set diff
|
||||
display changed options in irc plugin:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
|
||||
Reference in New Issue
Block a user