From 0d49ffd0536997858596d9c70a235c18c3295632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 19 Mar 2023 08:02:10 +0100 Subject: core: add command `/reset` to reset options to their default values --- doc/pl/includes/autogen_user_commands.pl.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc/pl') diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index e9028139e..af9fc00cf 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -2053,6 +2053,23 @@ Przykład: /repeat 2 /window page_up ---- +[[command_weechat_reset]] +* `+reset+`: reset config options + +---- +/reset + -mask + +option: name of an option + -mask: use a mask in option (wildcard "*" is allowed to mass-reset options, use carefully!) + +Examples: + reset one option: + /reset weechat.look.item_time_format + reset all color options: + /reset -mask weechat.color.* +---- + [[command_weechat_save]] * `+save+`: zapisuje pliki konfiguracyjne na dysku -- cgit v1.2.3