summaryrefslogtreecommitdiff
path: root/libre/calibre/0004-Disable-update-check-by-default.patch
blob: 14678bc12e65552ea797ead4ecd3d35d33cac432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py
index cf8ce58..255741f 100644
--- a/src/calibre/gui2/main.py
+++ b/src/calibre/gui2/main.py
@@ -49,8 +49,8 @@ path_to_ebook to the database.
                       help=_('Start minimized to system tray.'))
     parser.add_option('-v', '--verbose', default=0, action='count',
                       help=_('Ignored, do not use. Present only for legacy reasons'))
-    parser.add_option('--no-update-check', default=False, action='store_true',
-            help=_('Do not check for updates'))
+    parser.add_option('--update-check', dest='no_update_check', default=True, action='store_false',
+            help=_('Check for updates'))
     parser.add_option('--ignore-plugins', default=False, action='store_true',
             help=_('Ignore custom plugins, useful if you installed a plugin'
                 ' that is preventing calibre from starting'))