Skip to content

Commit f19ca53

Browse files
committed
Do not output usage hint when shell=none. Since there is no shell,
there is no clear way to expect how a usage hint will be interpretted.
1 parent ce33161 commit f19ca53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: pkg/minikube/shell/shell.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
124124
unsetSuffix: "\n",
125125
unsetDelimiter: "",
126126
usageHint: func(s ...interface{}) string {
127-
return fmt.Sprintf(`
128-
# %s
129-
# eval $(%s)
130-
`, s...)
127+
return ""
131128
},
132129
},
133130
}

0 commit comments

Comments
 (0)