Skip to content

Commit 894953d

Browse files
authored
fix: Workspace ls show only me by default (coder#5107)
1 parent 015a6f9 commit 894953d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ func list() *cobra.Command {
137137
"Specifies whether all workspaces will be listed or not.")
138138
cmd.Flags().StringArrayVarP(&columns, "column", "c", nil,
139139
fmt.Sprintf("Specify a column to filter in the table. Available columns are: %v", columnString))
140-
cmd.Flags().StringVar(&searchQuery, "search", "", "Search for a workspace with a query.")
140+
cmd.Flags().StringVar(&searchQuery, "search", defaultQuery, "Search for a workspace with a query.")
141141
return cmd
142142
}

0 commit comments

Comments
 (0)