diff --git a/docs/cli/licenses_list.md b/docs/cli/licenses_list.md index 88b524dcea336..121f9a4716efe 100644 --- a/docs/cli/licenses_list.md +++ b/docs/cli/licenses_list.md @@ -18,10 +18,10 @@ coder licenses list [flags] ### -c, --column -| | | -| ------- | ------------------------------------------------- | -| Type | string-array | -| Default | UUID,Expires At,Uploaded At,Features | +| | | +| ------- | ---------------------------------------------------- | +| Type | string-array | +| Default | ID,UUID,Expires At,Uploaded At,Features | Columns to display in table output. Available columns: id, uuid, uploaded at, features, expires at, trial. diff --git a/enterprise/cli/licenses.go b/enterprise/cli/licenses.go index 45e3d3e6ec97d..13c4df5689a49 100644 --- a/enterprise/cli/licenses.go +++ b/enterprise/cli/licenses.go @@ -150,7 +150,7 @@ func (r *RootCmd) licensesList() *clibase.Cmd { formatter := cliui.NewOutputFormatter( cliui.ChangeFormatterData( - cliui.TableFormat([]tableLicense{}, []string{"UUID", "Expires At", "Uploaded At", "Features"}), + cliui.TableFormat([]tableLicense{}, []string{"ID", "UUID", "Expires At", "Uploaded At", "Features"}), func(data any) (any, error) { list, ok := data.([]codersdk.License) if !ok { diff --git a/enterprise/cli/testdata/coder_licenses_list_--help.golden b/enterprise/cli/testdata/coder_licenses_list_--help.golden index 414a9e324248e..17fdc28dbee8d 100644 --- a/enterprise/cli/testdata/coder_licenses_list_--help.golden +++ b/enterprise/cli/testdata/coder_licenses_list_--help.golden @@ -8,7 +8,7 @@ USAGE: Aliases: ls OPTIONS: - -c, --column string-array (default: UUID,Expires At,Uploaded At,Features) + -c, --column string-array (default: ID,UUID,Expires At,Uploaded At,Features) Columns to display in table output. Available columns: id, uuid, uploaded at, features, expires at, trial.