From 274e69532061d1680b8c738d00a2fefe28734673 Mon Sep 17 00:00:00 2001 From: Pierre Mazière Date: Wed, 1 Jul 2020 23:53:07 +0200 Subject: use '*' to set a default executable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- src/command/cmd_defs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/command') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 7b4068ff..e6fdf202 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -2472,15 +2472,15 @@ static struct cmd_t command_defs[] = CMD_TAG_DISCOVERY) CMD_SYN( "/executable avatar ", - "/executable urlopen ", - "/executable urlsave ") + "/executable urlopen (|*) ", + "/executable urlsave (|*) ") CMD_DESC( "Configure executable that should be called upon a certain command." "Default is xdg-open.") CMD_ARGS( { "avatar", "Set executable that is run in /avatar open. Use your favourite image viewer." }, - { "urlopen", "Set executable that is run in /url open for a given file type. It may be your favorite browser or a specific viewer." }, - { "urlsave", "Set executable that is run in /url save for a given protocol. Use your favourite downloader."}) + { "urlopen", "Set executable that is run in /url open for a given file type. It may be your favorite browser or a specific viewer. Use * to set default command for undefined file type." }, + { "urlsave", "Set executable that is run in /url save for a given protocol. Use your favourite downloader. Use * to set default command for undefined protocol."}) CMD_EXAMPLES( "/executable avatar xdg-open", "/executable urlopen html false \"firefox %u\"", -- cgit