diff options
| -rw-r--r-- | cmd/x/mi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/x/mi.go b/cmd/x/mi.go index 46a8447..24bd2b4 100644 --- a/cmd/x/mi.go +++ b/cmd/x/mi.go @@ -134,9 +134,9 @@ func (le *miListEvents) Execute(ctx context.Context, f *flag.FlagSet, _ ...inter return subcommands.ExitFailure } - tbl := table.New("Name", "Start Date", "End Date", "Location") + tbl := table.New("ID", "Name", "Start Date", "End Date", "Location") for _, ev := range resp.Events { - tbl.AddRow(ev.Name, ev.StartDate.AsTime().Format("2006-01-02"), ev.EndDate.AsTime().Format("2006-01-02"), ev.Location) + tbl.AddRow(ev.Id, ev.Name, ev.StartDate.AsTime().Format("2006-01-02"), ev.EndDate.AsTime().Format("2006-01-02"), ev.Location) } tbl.Print() |
