Skip to content

Commit

Permalink
Fix link to docs in CLI options (#649)
Browse files Browse the repository at this point in the history
* fix: cli options refer link

* fix: sequelize-auto cli command refering link
  • Loading branch information
yutak23 authored May 25, 2023
1 parent 4197141 commit 8a8eb9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ Options:
-c, --config Path to JSON file for Sequelize-Auto options and
Sequelize's constructor "options" flag object as
defined here:
https://sequelize.org/master/class/lib/sequelize.js~Sequelize.html#instance-constructor-constructor
https://sequelize.org/api/v6/class/src/sequelize.js~sequelize#instance-constructor-constructor
[string]
-o, --output What directory to place the models. [string]
-e, --dialect The dialect/engine that you're using: postgres,
mysql, sqlite, mssql [string]
-a, --additional Path to JSON file containing model options (for all
tables). See the options: https://sequelize.org/master/class/lib/model.js~Model.html#static-method-init
tables). See the options: https://sequelize.org/api/v6/class/src/model.js~model#static-method-init
[string]
--indentation Number of spaces to indent [number]
-t, --tables Space-separated names of tables to import [array]
Expand Down
4 changes: 2 additions & 2 deletions bin/sequelize-auto
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const argv = require('yargs')
alias: 'p'
})
.option('config', {
description: 'Path to JSON file for Sequelize-Auto options and Sequelize\'s constructor "options" flag object as defined here: https://sequelize.org/master/class/lib/sequelize.js~Sequelize.html#instance-constructor-constructor',
description: 'Path to JSON file for Sequelize-Auto options and Sequelize\'s constructor "options" flag object as defined here: https://sequelize.org/api/v6/class/src/sequelize.js~sequelize#instance-constructor-constructor',
type: 'string',
alias: 'c'
})
Expand All @@ -51,7 +51,7 @@ const argv = require('yargs')
alias: 'e'
})
.option('additional', {
description: "Path to JSON file containing model options (for all tables). See the options: https://sequelize.org/master/class/lib/model.js~Model.html#static-method-init",
description: "Path to JSON file containing model options (for all tables). See the options: https://sequelize.org/api/v6/class/src/model.js~model#static-method-init",
type: 'string',
alias: 'a'
})
Expand Down

0 comments on commit 8a8eb9d

Please sign in to comment.