Reformat some comments to be within 80 chars

This commit is contained in:
Mitchell Hashimoto 2013-02-04 10:04:31 -08:00
parent 86adaf80d8
commit 7e71b73e4a
1 changed files with 7 additions and 4 deletions

View File

@ -101,10 +101,13 @@ module Vagrant
"-o", "ForwardX11Trusted=yes"]
end
# Configurables -- extra_args should always be last due to the way the ssh args parser works;
# e.g. if the user wants to use the -t option, any shell command(s) she'd like to run on the
# remote server would have to be the last part of the 'ssh' command:
# $: ssh localhost -t -p 2222 "cd mydirectory; bash"
# Configurables -- extra_args should always be last due to the way the
# ssh args parser works. e.g. if the user wants to use the -t option,
# any shell command(s) she'd like to run on the remote server would
# have to be the last part of the 'ssh' command:
#
# $ ssh localhost -t -p 2222 "cd mydirectory; bash"
#
# Without having extra_args be last, the user loses this ability
command_options += ["-o", "ForwardAgent=yes"] if ssh_info[:forward_agent]
command_options.concat(opts[:extra_args]) if opts[:extra_args]