clix.lua

changeset 127
6a27edf256c3
parent 122
1dfd28db10bd
child 131
58d485001448
equal deleted inserted replaced
126:c9d03a70a936 127:6a27edf256c3
3 -- Copyright (C) 2008-2010 Matthew Wild 3 -- Copyright (C) 2008-2010 Matthew Wild
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 require "verse" 8 local verse = require "verse".init "client"
9 require "verse.client"
10 9
11 -- Global to allow commands to add to it 10 -- Global to allow commands to add to it
12 short_opts = { v = "verbose", q = "quiet", t = "to", f = "from", e = "type", 11 short_opts = { v = "verbose", q = "quiet", t = "to", f = "from", e = "type",
13 a = "account", p = "password", r = "resource", o = "presence", c = "chatroom", i = "interactive", 12 a = "account", p = "password", r = "resource", o = "presence", c = "chatroom", i = "interactive",
14 f = "file" } 13 f = "file" }

mercurial