update usage hint for powershell

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett
2015-04-23 15:06:50 -04:00
parent 92f6b45de2
commit 9aa861ea55
+2 -2
View File
@@ -188,9 +188,9 @@ func generateUsageHint(appName, machineName, userShell string) string {
}
case "powershell":
if machineName != "" {
cmd = fmt.Sprintf("%s env %s | Invoke-Expression", appName, machineName)
cmd = fmt.Sprintf("%s env --shell=powershell %s | Invoke-Expression", appName, machineName)
} else {
cmd = fmt.Sprintf("Param(%s env)", appName)
cmd = fmt.Sprintf("%s env --shell=powershell | Invoke-Expression", appName)
}
case "cmd":
cmd = "copy and paste the above values into your command prompt"