fix help messages

This commit is contained in:
UndeadMaelys 2022-03-22 18:07:46 +01:00
parent c9ca082f44
commit 419b9bd67c

View File

@ -48,7 +48,7 @@ end
if arg[1] == "s" if arg[1] == "s"
or arg[1] == "search" then or arg[1] == "search" then
if please_help then if please_help then
print("all\n\tshows all words in heonian") print("search <query>\n\tsearches all words and shows only those that return to string.find()")
else else
if arg[2] then searchList(arg[2]) if arg[2] then searchList(arg[2])
else print("no query to search") end else print("no query to search") end
@ -58,7 +58,7 @@ end
if arg[1] == "tr" if arg[1] == "tr"
or arg[1] == "transcript" then or arg[1] == "transcript" then
if please_help then if please_help then
print("all\n\tshows all words in heonian") print("transcript <word>\n\ttranscripts the word to heonian script")
else else
if arg[2] then print(convertToHeonian(arg[2])) if arg[2] then print(convertToHeonian(arg[2]))
else print("no string to transcript") end else print("no string to transcript") end