void-packages/srcpkgs/glances/patches/no-check-update.patch

19 lines
935 B
Diff
Raw Normal View History

--- a/glances/main.py
+++ b/glances/main.py
2021-05-31 12:49:33 +02:00
@@ -109,6 +109,7 @@
"""Manage the command line arguments."""
# Read the command line arguments
self.args = self.parse_args()
+ self.args.disable_check_update = False
def init_args(self):
"""Init all the command line arguments."""
@@ -256,8 +257,6 @@
parser.add_argument('--theme-white', action='store_true', default=False,
dest='theme_white', help='optimize display colors for white background')
# Globals options
- parser.add_argument('--disable-check-update', action='store_true', default=False,
- dest='disable_check_update', help='disable online Glances version ckeck')
parser.add_argument('--strftime', dest='strftime_format', default='',
help='strftime format string for displaying current date in standalone mode')