clearer messages when switching to another directory

This commit is contained in:
steve donovan 2011-12-12 13:15:04 +02:00
parent dcd62ffa9d
commit c0d7c6d0ac
2 changed files with 2 additions and 1 deletions

View File

@ -223,6 +223,7 @@ if args.file == '.' then
if err then quit("no "..quote(args.config).." found") end if err then quit("no "..quote(args.config).." found") end
local config_path = path.dirname(args.config) local config_path = path.dirname(args.config)
if config_path ~= '' then if config_path ~= '' then
print('changing to directory',config_path)
lfs.chdir(config_path) lfs.chdir(config_path)
end end
config_is_read = true config_is_read = true

View File

@ -154,7 +154,7 @@ function html.generate_output(ldoc, args, project)
end end
end end
end end
if not args.quiet then print('output written to '..args.dir) end if not args.quiet then print('output written to '..tools.abspath(args.dir)) end
end end
return html return html