Skip to content

Commit

Permalink
Fix the merge command by allowing more than one argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Dwyer committed Aug 17, 2015
1 parent cf139ef commit 9c62c96
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 9c62c96

Please sign in to comment.