summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-05 19:01:26 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-05 19:01:26 +0100
commitcd7f95462e286b9e575a96a004f8f931a56f446c (patch)
tree3b3c763958948c94c385fd9c001b9416487cc6de
parentfade97082915b67806869ae5e35e520f6c354471 (diff)
downloadluaotfload-cd7f95462e286b9e575a96a004f8f931a56f446c.tar.gz
[tool] add brief package info to output of --version
-rwxr-xr-xluaotfload-tool.lua15
1 files changed, 12 insertions, 3 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index 5b7e0a2..ec0611d 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -175,12 +175,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)
@@ -266,8 +267,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)