aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/args.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-22 19:23:40 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-22 19:23:40 -0400
commit9b07405cd5513f75b2f1a2ae1d402cde40742a17 (patch)
tree88e6d54650d34b60b0fef68e91f84db5e3263f6b /core/args.lua
parent66cd64e293bd85bb8c24dbda78c00331879a8a5b (diff)
More code cleanup, reformatting, refactoring, and bug fixing.
Diffstat (limited to 'core/args.lua')
-rw-r--r--core/args.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/args.lua b/core/args.lua
index 6bf2b9e4..18ef743b 100644
--- a/core/args.lua
+++ b/core/args.lua
@@ -64,7 +64,7 @@ local function process(arg, no_emit_arg_none)
end
events.connect(events.INITIALIZED, function() if arg then process(arg) end end)
-- Undocumented, single-instance event handler for forwarding arguments.
-events.connect('cmd_line', function(arg) process(arg, true) end)
+events.connect('command_line', function(arg) process(arg, true) end)
if not CURSES then
-- Shows all registered command line switches on the command line.