We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a846b7f commit c819079Copy full SHA for c819079
1 file changed
command/status.go
@@ -6,6 +6,7 @@ package command
6
7
import (
8
"flag"
9
+ "fmt"
10
"strings"
11
"time"
12
@@ -117,7 +118,12 @@ func (c StatusCmd) Run(args []string) int {
117
118
out += o
119
}
120
- c.Ui.Output(out)
121
+ if totalOnly {
122
+ // plain output, no ansi escape sequences
123
+ fmt.Print(out)
124
+ } else {
125
+ c.Ui.Output(out)
126
+ }
127
return 0
128
129
0 commit comments