diff --git a/README.md b/README.md index 0945288..92bd70e 100644 --- a/README.md +++ b/README.md @@ -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" },