Merge pull request #10180 from briancain/powershell-cmd-fixup
vagrant powershell command fixup
This commit is contained in:
commit
cf2de6d714
|
@ -16,6 +16,9 @@ module VagrantPlugins
|
|||
opts = OptionParser.new do |o|
|
||||
o.banner = "Usage: vagrant powershell [-- extra powershell args]"
|
||||
|
||||
o.separator ""
|
||||
o.separator "Opens a PowerShell session on the host to the guest"
|
||||
o.separator "machine if both support powershell remoting."
|
||||
o.separator ""
|
||||
o.separator "Options:"
|
||||
o.separator ""
|
||||
|
|
|
@ -22,6 +22,7 @@ module VagrantPlugins
|
|||
def self.init!
|
||||
return if defined?(@_init)
|
||||
I18n.load_path << File.expand_path("templates/locales/command_ps.yml", Vagrant.source_root)
|
||||
I18n.load_path << File.expand_path("templates/locales/comm_winrm.yml", Vagrant.source_root)
|
||||
I18n.reload!
|
||||
@_init = true
|
||||
end
|
||||
|
|
|
@ -11,10 +11,11 @@ description: |-
|
|||
|
||||
**Command: `vagrant powershell`**
|
||||
|
||||
This will open a PowerShell prompt into a running Vagrant machine.
|
||||
This will open a PowerShell prompt on the host into a running Vagrant guest machine.
|
||||
|
||||
This command will only work if the machine supports PowerShell. Not every
|
||||
environment will support PowerShell.
|
||||
This command will only work if the machines supports PowerShell. Not every
|
||||
environment will support PowerShell. At the moment, only Windows is supported
|
||||
with this command.
|
||||
|
||||
## Options
|
||||
|
||||
|
|
Loading…
Reference in New Issue