From 4af802267dd2096e09f2f47029b3210456f10f7b Mon Sep 17 00:00:00 2001 From: Nikita Moshensky Date: Sun, 21 Jan 2018 13:25:10 +0200 Subject: [PATCH] Update README.md --output values On *nix systems `-o .\ -s public` `\ ` will escape empty space and the result of this command will be not specifying schema, but creating a dot folder with name `. -s public` where entities are generated. I have not tested this change on windows machine, where I guess the former syntax is perfectly OK. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0330e73..8cdee41 100644 --- a/README.md +++ b/README.md @@ -51,18 +51,18 @@ Options: * Creating model from local MSSQL database * Global module ``` - typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e mssql -o .\ + typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e mssql -o . ```` * Npx Way ``` - npx typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e mssql -o .\ + npx typeorm-model-generator -h localhost -d tempdb -u sa -x !Passw0rd -e mssql -o . ```` * Creating model from local Postgres database, public schema with ssl connection * Global module ``` - typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ -s public --ssl + typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o . -s public --ssl ```` * Npx Way ``` - npx typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o .\ -s public --ssl + npx typeorm-model-generator -h localhost -d postgres -u postgres -x !Passw0rd -e postgres -o . -s public --ssl ````