summaryrefslogtreecommitdiffstats
path: root/glances/stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/stats.py')
-rw-r--r--glances/stats.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/glances/stats.py b/glances/stats.py
index 3929f337..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,10 +315,10 @@ 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 (list).
+ """Return all the stats to be exported as a dict.
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