jp: replace no_lf argument by end in disp (same as in print)

This commit is contained in:
Goffi 2020-11-12 14:53:16 +01:00
commit f4c7f5e55e

View file

@ -146,7 +146,7 @@ class Shell(base.CommandBase, cmd.Cmd):
def do_help(self, args):
"""show help message"""
if not args:
self.disp(A.color(C.A_HEADER, _("Shell commands:")), no_lf=True)
self.disp(A.color(C.A_HEADER, _("Shell commands:")), end=' ')
super(Shell, self).do_help(args)
if not args:
self.disp(A.color(C.A_HEADER, _("Action commands:")))