Acorn.jl/src/cmds/open.jl

11 lines
208 B
Julia
Raw Permalink Normal View History

2017-08-03 22:41:59 +02:00
function commandOpen(ed::Editor, args::String)
if args == ""
editorOpen(ed)
else
editorOpen(ed, args)
end
end
addCommand(:open, commandOpen,
help="open: open a file")