diff --git a/cli/list.go b/cli/list.go index 3afd193dd8..ed75fe6e85 100644 --- a/cli/list.go +++ b/cli/list.go @@ -137,6 +137,6 @@ func list() *cobra.Command { "Specifies whether all workspaces will be listed or not.") cmd.Flags().StringArrayVarP(&columns, "column", "c", nil, fmt.Sprintf("Specify a column to filter in the table. Available columns are: %v", columnString)) - cmd.Flags().StringVar(&searchQuery, "search", "", "Search for a workspace with a query.") + cmd.Flags().StringVar(&searchQuery, "search", defaultQuery, "Search for a workspace with a query.") return cmd }