Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/vi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/help.py')
-rw-r--r--plugins/help.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/help.py b/plugins/help.py
index aa2e8f9..dc9a561 100644
--- a/plugins/help.py
+++ b/plugins/help.py
@@ -59,6 +59,7 @@ def cmd_help(raw_in, text):
rez.append((cmd[0], cmd[4], ''))
if rez:
msg = '\n'.join('/%s - %s %s' % t for t in rez)
+ msg = msg.replace(' ', ' ').strip()
else:
msg = 'Not found.'
send_msg(raw_in, msg)
@@ -79,6 +80,7 @@ def cmd_commands(raw_in):
rez.sort()
msg = 'I know commands:\n'
msg += ' | '.join('/%s %s' % t for t in rez)
+ msg = msg.replace(' ', ' ').strip()
send_msg(raw_in, msg)
def cmd_start(raw_in):