Clean up 'usage' for clarity in terminal output

This commit is contained in:
Jordan Irwin 2017-08-10 13:18:58 -07:00
parent ceed3da428
commit 7a94466936
1 changed files with 34 additions and 30 deletions

View File

@ -39,6 +39,10 @@ app.require_here()
local usage = [[ local usage = [[
ldoc, a documentation generator for Lua, v]]..version..[[ ldoc, a documentation generator for Lua, v]]..version..[[
Invocation:
ldoc [options] <file>
Options:
-d,--dir (default doc) output directory -d,--dir (default doc) output directory
-o,--output (default 'index') output name -o,--output (default 'index') output name
-v,--verbose verbose -v,--verbose verbose