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

25 lines
742 B
Diff

--- a/glances/main.py
+++ b/glances/main.py
@@ -97,6 +97,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."""
@@ -514,13 +515,6 @@
)
# 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='',