summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-05 20:49:52 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-05 20:49:52 +0100
commit398bb5facbd282aa46877de3755b57ecbbe614f7 (patch)
treeb1a96cf057302eb5e4d9e4736e352ca3d4ad15c1 /luaotfload-tool.lua
parent70e80bb79416b0089ea9ee5f01a11be34bef251c (diff)
parent5a7c2daf47c7e7a3d8c948b7d2e0420c1623c112 (diff)
downloadluaotfload-398bb5facbd282aa46877de3755b57ecbbe614f7.tar.gz
Merge pull request #189 from phi-gamma/master
backport #188
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua15
1 files changed, 12 insertions, 3 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index fd84fa4..341d197 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -191,12 +191,13 @@ local help_messages = {
Usage: %s [OPTIONS...]
-Operations on the Luaotfload font names database.
+ Luaotfload font management and diagnostic utility.
+ This program is part of the Luaotfload package.
-This tool is part of the luaotfload package. Valid options are:
+ Valid options are:
-------------------------------------------------------------------------------
- VERBOSITY AND LOGGING
+ VERBOSITY AND DIAGNOSTICS
-q --quiet don't output anything
-v --verbose=LEVEL be more verbose (print the searched directories)
@@ -302,8 +303,16 @@ local help_msg = function (version)
luaotfloadconfig.cache_dir)))
end
+local about = [[
+%s:
+ Luaotfload font management and diagnostic utility.
+ License: GNU GPL v2.0.
+ Report problems to <https://github.com/lualatex/luaotfload/issues>
+]]
+
local version_msg = function ( )
local out = function (...) texiowrite_nl (stringformat (...)) end
+ out (about, luaotfloadconfig.self)
out ("%s version %q", luaotfloadconfig.self, version)
out ("revision %q", luaotfloadstatus.notes.revision)
out ("database version %q", names.version)