degesch: make /buffer with no arguments print list
This commit is contained in:
parent
59a4c356dd
commit
fa965a85e4
|
@ -8152,7 +8152,7 @@ handle_command_buffer (struct handler_args *a)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
bool result = true;
|
bool result = true;
|
||||||
if (!strcasecmp_ascii (action, "list"))
|
if (!*action || !strcasecmp_ascii (action, "list"))
|
||||||
show_buffers_list (ctx);
|
show_buffers_list (ctx);
|
||||||
else if (!strcasecmp_ascii (action, "clear"))
|
else if (!strcasecmp_ascii (action, "clear"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue