From 19e2181ed481244b60c0049871ab1040b47f9f71 Mon Sep 17 00:00:00 2001 From: fabriciojs Date: Sun, 29 Oct 2023 21:36:31 -0300 Subject: [PATCH] verbose output improv --- core/shell/shell.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/shell/shell.go b/core/shell/shell.go index daeb2bdb..4d947e71 100644 --- a/core/shell/shell.go +++ b/core/shell/shell.go @@ -174,11 +174,11 @@ func (s *DefaultShell) Interactive(originalCmd builder.Command, extraArgs ...str if verbose { checker := NewTerminalChecker() - fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %v\n", + fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %s\n", checker.IsTerminal(cmdptr.in), checker.IsTerminal(cmdptr.out), cmdptr.Command.Cmd(), - cmdptr.Command.Args(), + strings.Join(cmdptr.Command.Args(), " "), ) }