Skip to content

Commit

Permalink
Do not output usage hint when shell=none. Since there is no shell,
Browse files Browse the repository at this point in the history
there is no clear way to expect how a usage hint will be interpretted.
  • Loading branch information
jtzwu committed Jun 23, 2020
1 parent ce33161 commit f19ca53
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/minikube/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
unsetSuffix: "\n",
unsetDelimiter: "",
usageHint: func(s ...interface{}) string {
return fmt.Sprintf(`
# %s
# eval $(%s)
`, s...)
return ""
},
},
}
Expand Down

0 comments on commit f19ca53

Please sign in to comment.