@@ -10,7 +10,6 @@ import (
10
10
11
11
"github.com/cheggaaa/pb/v3/termutil"
12
12
"github.com/lima-vm/lima/pkg/store"
13
- "github.com/lithammer/dedent"
14
13
"github.com/mattn/go-isatty"
15
14
"github.com/sirupsen/logrus"
16
15
"github.com/spf13/cobra"
@@ -38,17 +37,17 @@ func newListCommand() *cobra.Command {
38
37
Use : "list [flags] [INSTANCE]..." ,
39
38
Aliases : []string {"ls" },
40
39
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'` ,
52
51
Args : WrapArgsError (cobra .ArbitraryArgs ),
53
52
RunE : listAction ,
54
53
ValidArgsFunction : listBashComplete ,
0 commit comments