diff --git a/src/main.cc b/src/main.cc index 40ef716d..39b40ebd 100644 --- a/src/main.cc +++ b/src/main.cc @@ -714,20 +714,17 @@ int run_server(StringView session, StringView server_init, return local_client_exit; } -int run_filter(StringView keystr, StringView commands, ConstArrayView files, bool quiet, StringView suffix_backup) +int run_filter(StringView keystr, ConstArrayView files, bool quiet, StringView suffix_backup) { StringRegistry string_registry; GlobalScope global_scope; EventManager event_manager; ShellManager shell_manager{builtin_env_vars}; - CommandManager command_manager; RegisterManager register_manager; - ClientManager client_manager; BufferManager buffer_manager; register_options(); register_registers(); - register_commands(); try { @@ -742,10 +739,6 @@ int run_filter(StringView keystr, StringView commands, ConstArrayView