Skip to content

Commit

Permalink
Add new short name for "ExitCode" - "$?"
Browse files Browse the repository at this point in the history
  • Loading branch information
GRbit committed Jul 24, 2024
1 parent 05da87b commit 3cd66b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/lib/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func BuildTableRow(ctx context.Context, columnNames []string, entry data.History
} else {
row = append(row, entry.EndTime.Local().Sub(entry.StartTime.Local()).Round(time.Millisecond).String())
}
case "Exit Code", "Exit_Code", "ExitCode", "exitcode":
case "Exit Code", "Exit_Code", "ExitCode", "exitcode", "$?", "EC":
row = append(row, fmt.Sprintf("%d", entry.ExitCode))
case "Command", "command":
row = append(row, commandRenderer(entry.Command))
Expand Down

0 comments on commit 3cd66b7

Please sign in to comment.