aboutsummaryrefslogtreecommitdiff
path: root/etc/check-links.lua
diff options
context:
space:
mode:
Diffstat (limited to 'etc/check-links.lua')
-rw-r--r--etc/check-links.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/check-links.lua b/etc/check-links.lua
index d2e4266..283f3ac 100644
--- a/etc/check-links.lua
+++ b/etc/check-links.lua
@@ -11,7 +11,7 @@ dispatch.TIMEOUT = 10
11 11
12-- make sure the user knows how to invoke us 12-- make sure the user knows how to invoke us
13arg = arg or {} 13arg = arg or {}
14if table.getn(arg) < 1 then 14if #arg < 1 then
15 print("Usage:\n luasocket check-links.lua [-n] {<url>}") 15 print("Usage:\n luasocket check-links.lua [-n] {<url>}")
16 exit() 16 exit()
17end 17end