Skip to content

Commit

Permalink
--force is no longer an option
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed Dec 17, 2011
1 parent 3b18866 commit 0d464d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ohmyvim/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ def self_upgrade(self):
branch = line.split('=').strip()

if 'BUILDOUT_ORIGINAL_PYTHONPATH' in os.environ:
self.log('Update your buildout then run:')
self.log(' $ %s upgrade --force', sys.argv[0])
self.log('Update your buildout')
return False

pip = self.get_pip()
Expand Down Expand Up @@ -517,14 +516,13 @@ def main(*args):
p = subparsers.add_parser('install', help='install a script or bundle')
p.add_argument('--raw', action='store_true', default=False)
p.add_argument('-f', '--full', default=None,
help="also install required softwares and binaris")
help="also install required softwares and binaries")
p.add_argument('-d', '--dist', default=None,
help="install a distribution")
p.add_argument('url', nargs='*', default='')
p.set_defaults(action=manager.install)

p = subparsers.add_parser('upgrade', help='upgrade bundles')
p.add_argument('--force', action='store_true', default=False)
p.add_argument('bundle', nargs='*', default='')
p.set_defaults(action=manager.upgrade)

Expand Down

0 comments on commit 0d464d1

Please sign in to comment.