Skip to content

Commit

Permalink
Merge pull request #74 from dwyerk/master
Browse files Browse the repository at this point in the history
Fix the merge command by allowing more than one argument.
  • Loading branch information
miguelgrinberg committed Aug 18, 2015
2 parents cf139ef + 9c62c96 commit 4e15e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_migrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def migrate(directory=None, message=None, sql=False, head='head', splice=False,
help=('Specify a branch label to apply to the new '
'revision'))
@MigrateCommand.option('-m', '--message', dest='message', default=None)
@MigrateCommand.option('revisions',
@MigrateCommand.option('revisions', nargs='+',
help='one or more revisions, or "heads" for all heads')
@MigrateCommand.option('-d', '--directory', dest='directory', default=None,
help=("migration script directory (default is "
Expand Down

0 comments on commit 4e15e53

Please sign in to comment.