Skip to content

Commit

Permalink
Warn if --initdb or --upgradedb used with omego install
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Jun 15, 2017
1 parent 8feb348 commit 62acb73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions omego/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ def _handle_args(self, cmd, args):
args.initdb = True
args.upgradedb = True
else:
# Deprecated behaviour
pass
if args.initdb or args.upgradedb:
log.warn('--initdb and --upgradedb are deprecated, '
'use --managedb')

elif cmd == 'upgrade':
# Deprecated behaviour
Expand Down

0 comments on commit 62acb73

Please sign in to comment.