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" } |