Add --version option to the CLI tools

See #232
This commit is contained in:
Evan Miller
2021-01-19 20:37:25 -05:00
parent 9e85bc4153
commit f99c5539e7
19 changed files with 159 additions and 37 deletions

View File

@@ -4,6 +4,7 @@ NAME
SYNOPSIS
mdb-json [-D fmt] [-T fmt] [-U] database table
mdb-json -h|--help
mdb-json --version
DESCRIPTION
mdb-json is a utility program distributed with MDB Tools.
@@ -13,7 +14,8 @@ DESCRIPTION
OPTIONS
-D, --date-format fmt Set the date format (see strftime(3) for details).
-T, --time-format fmt Set the date/time format (see strftime(3) for details).
-U, --no-unprintable Change unprintable characters to spaces (otherwise escaped as \\u00XX)
-U, --no-unprintable Change unprintable characters to spaces (otherwise escaped as \\u00XX).
--version Print the mdbtools version and exit.
NOTES