From 586ea61fc383e9cfaff82f8464533823b878cb82 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 29 May 2014 22:55:22 +0200 Subject: [PATCH] Help: commands description text align to the left --- glances/plugins/glances_help.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glances/plugins/glances_help.py b/glances/plugins/glances_help.py index 0f3b6890..1bbd1a6d 100644 --- a/glances/plugins/glances_help.py +++ b/glances/plugins/glances_help.py @@ -70,8 +70,8 @@ class Plugin(GlancesPlugin): ret.append(self.curse_new_line()) # Keys - msg_col = '{0:1} {1:>35}' - msg_col2 = ' {0:1} {1:>35}' + msg_col = ' {0:1} {1:35}' + msg_col2 = ' {0:1} {1:35}' ret.append(self.curse_new_line()) msg = msg_col.format(_("a"), _("Sort processes automatically")) @@ -116,7 +116,7 @@ class Plugin(GlancesPlugin): ret.append(self.curse_new_line()) msg = msg_col.format(_("s"), _("Show/hide sensors stats")) ret.append(self.curse_add_line(msg)) - msg = msg_col2.format(_("z"), _("Enable/Disable processes stats")) + msg = msg_col2.format(_("z"), _("Enable/disable processes stats")) ret.append(self.curse_add_line(msg)) ret.append(self.curse_new_line()) msg = msg_col.format(_("q"), _("Quit (Esc and Ctrl-C also work)")) -- GitLab