Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
update usage hint for powershell
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
  • Loading branch information
ehazlett committed Apr 29, 2015
1 parent 92f6b45 commit 9aa861e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9aa861e

Please sign in to comment.