change command to license

pull/15158/head
Steven Powell 2022-10-20 10:51:27 -07:00
parent b491d7179b
commit 289e3bcbf2
3 changed files with 8 additions and 8 deletions

View File

@ -25,9 +25,9 @@ import (
var dir string
// creditsCmd represents the credits command
var creditsCmd = &cobra.Command{
Use: "credits",
// licenseCmd represents the credits command
var licenseCmd = &cobra.Command{
Use: "license",
Short: "Outputs the licenses of dependencies to a directory",
Long: "Outputs the licenses of dependencies to a directory",
Run: func(cmd *cobra.Command, args []string) {
@ -38,5 +38,5 @@ var creditsCmd = &cobra.Command{
}
func init() {
creditsCmd.Flags().StringVarP(&dir, "dir", "d", ".", "Directory to output licenses to")
licenseCmd.Flags().StringVarP(&dir, "dir", "d", ".", "Directory to output licenses to")
}

View File

@ -282,7 +282,7 @@ func init() {
updateCheckCmd,
versionCmd,
optionsCmd,
creditsCmd,
licenseCmd,
},
},
}

View File

@ -1,11 +1,11 @@
---
title: "credits"
title: "license"
description: >
Outputs the licenses of dependencies to a directory
---
## minikube credits
## minikube license
Outputs the licenses of dependencies to a directory
@ -14,7 +14,7 @@ Outputs the licenses of dependencies to a directory
Outputs the licenses of dependencies to a directory
```shell
minikube credits [flags]
minikube license [flags]
```
### Options