From 8564002c3b187d9096a9c3d3ab1946f2291aa5dc Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 30 Sep 2020 00:33:38 +0300 Subject: [PATCH] Tweak usage option order and correct small error in PR contribution --- ldoc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldoc.lua b/ldoc.lua index d2bab14..67ed016 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -44,7 +44,6 @@ ldoc, a documentation generator for Lua, v]]..version..[[ ldoc --version Options: - -V,--version show version information -d,--dir (default doc) output directory -o,--output (default 'index') output name -v,--verbose verbose @@ -69,6 +68,7 @@ ldoc, a documentation generator for Lua, v]]..version..[[ -M,--merge allow module merging -S,--simple no return or params, no summary -O,--one one-column output layout + -V,--version show version information --date (default system) use this date in generated doc --dump debug output 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 --testing reproducible build; no date or version on output - (optional string) source file or directory containing source + (string) source file or directory containing source `ldoc .` reads options from an `config.ld` file in same directory; `ldoc -c path/to/myconfig.ld ` reads options from `path/to/myconfig.ld`