Skip to content

Commit 19e2181

Browse files
committed
verbose output improv
1 parent 21f8bf5 commit 19e2181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/shell/shell.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ func (s *DefaultShell) Interactive(originalCmd builder.Command, extraArgs ...str
174174

175175
if verbose {
176176
checker := NewTerminalChecker()
177-
fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %v\n",
177+
fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %s\n",
178178
checker.IsTerminal(cmdptr.in),
179179
checker.IsTerminal(cmdptr.out),
180180
cmdptr.Command.Cmd(),
181-
cmdptr.Command.Args(),
181+
strings.Join(cmdptr.Command.Args(), " "),
182182
)
183183
}
184184

0 commit comments

Comments
 (0)