aboutsummaryrefslogtreecommitdiff
path: root/src/help.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.lua')
-rw-r--r--src/help.lua16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/help.lua b/src/help.lua
index 7f0c82d..cf6b25e 100644
--- a/src/help.lua
+++ b/src/help.lua
@@ -14,6 +14,9 @@ function main ()
print("---*> 0000 - echo")
print("\n---*> 0001 - fetchservice\n")
+ print("\n*> Other Utils:")
+ print("---*> dns")
+
end
-- 0000: echo
@@ -36,11 +39,22 @@ function fetchservice ()
end
+-- misc: look up dns
+function dns ()
+
+ print("\nDNS Lookup - Look up the IP address associated with a hostname.")
+
+ print("\n*> Usage:")
+ print("\n lua selenepaw.lua dns <server name> <hostname>\n")
+end
+
-- return
return {
main = main,
echo = echo,
- fetchservice = fetchservice
+ fetchservice = fetchservice,
+
+ dns = dns
}