aboutsummaryrefslogtreecommitdiff
path: root/etc/dict.lua
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dict.lua')
-rw-r--r--etc/dict.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/dict.lua b/etc/dict.lua
index e5d4740..dd001cf 100644
--- a/etc/dict.lua
+++ b/etc/dict.lua
@@ -4,7 +4,7 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7require"socket" 7local socket = require("socket")
8 8
9function get_status(sock, valid) 9function get_status(sock, valid)
10 local line, err = sock:receive() 10 local line, err = sock:receive()
@@ -77,5 +77,5 @@ if arg and arg[1] then
77 defs, err = dict_get(arg[1], arg[2]) 77 defs, err = dict_get(arg[1], arg[2])
78 print(defs or err) 78 print(defs or err)
79else 79else
80 io.write("Usage:\n luasocket dict.lua <word> [<dictionary>]\n") 80 io.write("Usage:\n lua dict.lua <word> [<dictionary>]\n")
81end 81end