Skip to content

Commit

Permalink
Update generate-docs test to include --help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
prezha committed Nov 7, 2020
1 parent 1a9a54e commit 432762f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/generate-docs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

func TestGenerateDocs(t *testing.T) {
pflag.BoolP("help", "h", false, "")
pflag.BoolP("help", "h", false, "") // avoid 'Docs are not updated. Please run `make generate-docs` to update commands documentation' error
dir := "../../../site/content/en/docs/commands/"

for _, sc := range RootCmd.Commands() {
Expand Down

0 comments on commit 432762f

Please sign in to comment.