2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-28 01:10:42 +00:00

feat(commands/doc): return 1 exit code when doc not found

This commit is contained in:
sammyette 2023-01-07 14:02:21 -04:00
parent 4e023703b6
commit a6bcfdfca9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -39,7 +39,7 @@ commander.register('doc', function(args)
end
if not f then
print('No documentation found for ' .. mod .. '.')
return
return 1
end
end
funcdocs = f:read '*a':gsub('-([%d]+)', '%1')