fix: wrong address typed
This commit is contained in:
parent
b00ec56118
commit
49274fe4db
@ -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
|
||||
|
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user