fix: wrong address typed

This commit is contained in:
Bogdan Korenkov 2019-08-15 09:56:08 +03:00
parent b00ec56118
commit 49274fe4db
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ Usage: typeorm-model-generator -h <host> -d <database> -p [port] -u <user> -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

View File

@ -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"
},