~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to update-manager

  • Committer: Michael Vogt
  • Date: 2009-02-16 10:30:51 UTC
  • mfrom: (1256.1.14 main)
  • Revision ID: michael.vogt@ubuntu.com-20090216103051-m2aa2cgx0s2facxh
merge from the mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  parser.add_option ("-p","--proposed", action="store_true",
64
64
                     dest="use_proposed", default=False,
65
65
                     help=_("Upgrade using the latest proposed version of the release upgrader"))
 
66
  parser.add_option ("--no-focus-on-map", action="store_true",
 
67
                     dest="no_focus_on_map", default=False,
 
68
                     help=_("Do not focus on map when starting"))
66
69
  parser.add_option ("--dist-upgrade", action="store_true",
67
70
                     dest="dist_upgrade", default=False,
68
71
                     help=_("Try to run a dist-upgrade"))
88
91
    controler = DistUpgradeController(view, datadir=data_dir)
89
92
    controler.doPartialUpgrade()
90
93
  else:
91
 
    app = UpdateManager(data_dir)
 
94
    app = UpdateManager(data_dir, options)
92
95
    app.main(options)