allow -c to be used with explicit file

This commit is contained in:
steve donovan 2013-04-11 15:37:01 +02:00
parent 0ee96935a3
commit 6d22818ec9
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
no_return_or_parms=true
no_summary=true