diff options
author | nicolargo <nicolas@nicolargo.com> | 2024-04-03 22:20:00 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2024-04-03 22:20:00 +0200 |
commit | 2a381e09ff1016ce1730d374bb059f55012f4520 (patch) | |
tree | 6e0202d444788923c382281e14d487fd05f1cff6 | |
parent | 194ae67d88b475d247ea07f49ac9a0e25762a03e (diff) |
Update comment
-rw-r--r-- | glances/stats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glances/stats.py b/glances/stats.py index 9b875a63..336476e7 100644 --- a/glances/stats.py +++ b/glances/stats.py @@ -304,10 +304,10 @@ class GlancesStats(object): return {p: self._plugins[p].get_raw() for p in self._plugins} def getAllExports(self, plugin_list=None): - """Return all the stats to be exported (list). + """Return all the stats to be exported as a list. Default behavior is to export all the stat - if plugin_list is provided, only export stats of given plugin (list) + if plugin_list is provided (list), only export stats of given plugins """ if plugin_list is None: # All enabled plugins should be exported @@ -315,7 +315,7 @@ class GlancesStats(object): return [self._plugins[p].get_export() for p in self._plugins] def getAllExportsAsDict(self, plugin_list=None): - """Return all the stats to be exported (dict). + """Return all the stats to be exported as a dict. Default behavior is to export all the stat if plugin_list is provided (list), only export stats of given plugins |