Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 55646787
authored
Mar 22, 2014
by
Daniel Cohen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed options to cli-options due to conflict with commander npm
1 parent
7a3b7196
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
bin/sequelize
bin/sequelize
View file @
5564678
...
...
@@ -181,13 +181,13 @@ program
.
option
(
'-c, --create-migration [migration-name]'
,
'Creates a new migration.'
)
.
option
(
'-p, --migrations-path'
,
'migration directory path.'
)
.
option
(
'-U, --url <url>'
,
'Database url. An alternative to a config file'
)
.
option
(
'-o,--cli-options <options_file>'
,
'Specifies lib options from file.'
)
.
option
(
'--config <config_file>'
,
'Specifies alternate config file.'
)
.
option
(
'--options <options_file>'
,
'Specifies lib options from file.'
)
.
option
(
'--coffee'
,
'Consider coffee script files as migration source.'
)
.
parse
(
process
.
argv
)
if
(
typeof
program
.
o
ptions
===
'string'
)
{
loadDefaultOptions
(
program
.
o
ptions
);
if
(
typeof
program
.
cliO
ptions
===
'string'
)
{
loadDefaultOptions
(
program
.
cliO
ptions
);
}
if
(
typeof
program
.
config
===
'string'
)
{
...
...
@@ -348,3 +348,4 @@ if (program.migrate || program.undo) {
}
else
{
console
.
log
(
'No action specified. Try "sequelize --help" for usage information.'
)
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment