allow -c to be used with explicit file
This commit is contained in:
parent
0ee96935a3
commit
6d22818ec9
7
ldoc.lua
7
ldoc.lua
|
@ -284,6 +284,13 @@ if args.file == '.' then
|
|||
args.file = abspath(args.file)
|
||||
end
|
||||
else
|
||||
-- user-provided config file
|
||||
if args.config ~= 'config.ld' then
|
||||
local err
|
||||
config_dir,err = read_ldoc_config(args.config)
|
||||
if err then quit("no "..quote(args.config).." found") end
|
||||
end
|
||||
-- with user-provided file
|
||||
args.file = abspath(args.file)
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
no_return_or_parms=true
|
||||
no_summary=true
|
Loading…
Reference in New Issue