diff --git a/README.md b/README.md index 0945288..2876c89 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![codecov](https://codecov.io/gh/Kononnable/typeorm-model-generator/branch/master/graph/badge.svg)](https://codecov.io/gh/Kononnable/typeorm-model-generator) Generates models for TypeORM from existing databases. -Suported db engines: +Supported db engines: * Microsoft SQL Server * PostgreSQL * MySQL @@ -21,7 +21,7 @@ To install module globally simply type `npm i -g typeorm-model-generator` in you Thanks to npx you can use npm modules without polluting global installs. So nothing to do here :) >To use `npx` you need to use npm at version at least 5.2.0. Try updating your npm by `npm i -g npm` ### Database drivers -All database drivers except oracle are installed by default. To use typeorm-model-generator with oracle databese you need to install driver with `npm i oracledb` and configure [oracle install client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html) on your machine. +All database drivers except oracle are installed by default. To use typeorm-model-generator with oracle database you need to install driver with `npm i oracledb` and configure [oracle install client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html) on your machine. ## Usage @@ -32,7 +32,7 @@ Usage: typeorm-model-generator -h -d -p [port] -u -x Options: --help Show help [boolean] --version Show version number [boolean] - -h, --host IP adress/Hostname for database server + -h, --host IP address/Hostname for database server [default: "127.0.0.1"] -d, --database Database name(or path for sqlite) [required] -u, --user Username for database server diff --git a/src/index.ts b/src/index.ts index b090f8d..ba1bf2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -56,7 +56,7 @@ function GetUtilParametersByArgs() { .option("h", { alias: "host", default: "127.0.0.1", - describe: "IP adress/Hostname for database server" + describe: "IP address/Hostname for database server" }) .option("d", { alias: "database", @@ -223,7 +223,7 @@ async function GetUtilParametersByInquirer() { const answ: any = await inquirer.prompt([ { default: "localhost", - message: "Database adress:", + message: "Database address:", name: "host", type: "input" },