Skip to content

Commit 82b4ea1

Browse files
committed
Fixed description for list command
1 parent 122bca5 commit 82b4ea1

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

commands/lib/list.go

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,12 @@ import (
3030

3131
func initListCommand() *cobra.Command {
3232
listCommand := &cobra.Command{
33-
Use: "list",
34-
Short: "Shows a list of all installed libraries.",
35-
Long: "Shows a list of all installed libraries.\n" +
36-
"Can be used with -v (or --verbose) flag (up to 2 times) to have longer output.",
37-
Example: "" +
38-
" " + commands.AppName + " lib list # to show all installed library names.\n" +
39-
" " + commands.AppName + " lib list -v # to show more details.",
40-
Args: cobra.NoArgs,
41-
Run: runListCommand,
33+
Use: "list",
34+
Short: "Shows a list of all installed libraries.",
35+
Long: "Shows a list of all installed libraries.",
36+
Example: " " + commands.AppName + " lib list",
37+
Args: cobra.NoArgs,
38+
Run: runListCommand,
4239
}
4340
listCommand.Flags().BoolVar(&listFlags.all, "all", false, "Include built-in libraries (from platforms and IDE) in listing.")
4441
listCommand.Flags().BoolVar(&listFlags.updatable, "updatable", false, "List updatable libraries.")

0 commit comments

Comments
 (0)