Tweak usage option order and correct small error in PR contribution
This commit is contained in:
parent
1ba5167190
commit
8564002c3b
4
ldoc.lua
4
ldoc.lua
|
@ -44,7 +44,6 @@ ldoc, a documentation generator for Lua, v]]..version..[[
|
||||||
ldoc --version
|
ldoc --version
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-V,--version show version information
|
|
||||||
-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
|
||||||
|
@ -69,6 +68,7 @@ ldoc, a documentation generator for Lua, v]]..version..[[
|
||||||
-M,--merge allow module merging
|
-M,--merge allow module merging
|
||||||
-S,--simple no return or params, no summary
|
-S,--simple no return or params, no summary
|
||||||
-O,--one one-column output layout
|
-O,--one one-column output layout
|
||||||
|
-V,--version show version information
|
||||||
--date (default system) use this date in generated doc
|
--date (default system) use this date in generated doc
|
||||||
--dump debug output dump
|
--dump debug output dump
|
||||||
--filter (default none) filter output as Lua data (e.g pl.pretty.dump)
|
--filter (default none) filter output as Lua data (e.g pl.pretty.dump)
|
||||||
|
@ -76,7 +76,7 @@ ldoc, a documentation generator for Lua, v]]..version..[[
|
||||||
--fatalwarnings non-zero exit status on any warning
|
--fatalwarnings non-zero exit status on any warning
|
||||||
--testing reproducible build; no date or version on output
|
--testing reproducible build; no date or version on output
|
||||||
|
|
||||||
<file> (optional string) source file or directory containing source
|
<file> (string) source file or directory containing source
|
||||||
|
|
||||||
`ldoc .` reads options from an `config.ld` file in same directory;
|
`ldoc .` reads options from an `config.ld` file in same directory;
|
||||||
`ldoc -c path/to/myconfig.ld <file>` reads options from `path/to/myconfig.ld`
|
`ldoc -c path/to/myconfig.ld <file>` reads options from `path/to/myconfig.ld`
|
||||||
|
|
Loading…
Reference in New Issue