clix: Initialize verse in modern way

Sun, 20 May 2018 01:04:02 +0200

author
Kim Alvefur <zash@zash.se>
date
Sun, 20 May 2018 01:04:02 +0200
changeset 127
6a27edf256c3
parent 126
c9d03a70a936
child 128
0ae8deb6f75d

clix: Initialize verse in modern way

clix.lua file | annotate | diff | comparison | revisions
--- a/clix.lua	Mon Mar 21 16:13:02 2016 +0100
+++ b/clix.lua	Sun May 20 01:04:02 2018 +0200
@@ -5,8 +5,7 @@
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
-require "verse"
-require "verse.client"
+local verse = require "verse".init "client"
 
 -- Global to allow commands to add to it
 short_opts = { v = "verbose", q = "quiet", t = "to", f = "from", e = "type",

mercurial