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-schema [options] [-T tablename] [-N prefix] database [backend]
mdb-schema -h|--help
mdb-schema --version
DESCRIPTION
mdb-schema is a utility program distributed with MDB Tools.
@@ -27,6 +28,7 @@ OPTIONS
--no-indexes Don't export INDEXes.
--relations Export foreign keys constraints. This is the default.
--no-relations Don't export foreign keys constraints.
--version Print the mdbtools version and exit.
backend Specifies target DDL dialect. Supported values are access, sybase, oracle, postgres, mysql and sqlite. If not specified the generated DDL will be in access format.