@@ -10,7 +10,6 @@ import (
1010
1111 "github.com/cheggaaa/pb/v3/termutil"
1212 "github.com/lima-vm/lima/pkg/store"
13- "github.com/lithammer/dedent"
1413 "github.com/mattn/go-isatty"
1514 "github.com/sirupsen/logrus"
1615 "github.com/spf13/cobra"
@@ -38,17 +37,17 @@ func newListCommand() *cobra.Command {
3837 Use : "list [flags] [INSTANCE]..." ,
3938 Aliases : []string {"ls" },
4039 Short : "List instances of Lima." ,
41- Long : " List instances of Lima.\n " + dedent . Dedent ( `
42- The output can be presented in one of several formats, using the --format <format> flag.
43-
44- --format json - output in json format
45- --format yaml - output in yaml format
46- --format table - output in table format
47- --format '{{ <go template> }}' - if the format begins and ends with '{{ }}', then it is used as a go template.
48- ` ) + store . FormatHelp + dedent . Dedent ( `
49- The following legacy flags continue to function:
50- --json - equal to '--format json'
51- ` ) ,
40+ Long : ` List instances of Lima.
41+
42+ The output can be presented in one of several formats, using the --format <format> flag.
43+
44+ --format json - output in json format
45+ --format yaml - output in yaml format
46+ --format table - output in table format
47+ --format '{{ <go template> }}' - if the format begins and ends with '{{ }}', then it is used as a go template.
48+ ` + store . FormatHelp + `
49+ The following legacy flags continue to function:
50+ --json - equal to '--format json'` ,
5251 Args : WrapArgsError (cobra .ArbitraryArgs ),
5352 RunE : listAction ,
5453 ValidArgsFunction : listBashComplete ,
0 commit comments