aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_ssh.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-08-27 12:00:24 +0200
committerPeter Andersson <[email protected]>2012-08-27 12:00:24 +0200
commit0ff106bd0fa654c09144102ca5baf73bb1d3a459 (patch)
treeb8d4dfb7b689823a28353b5ad41f0302360ed281 /lib/common_test/src/ct_ssh.erl
parentae2c50f36806b26530de88d2609cd6ced018cb54 (diff)
parentfd7423d3fc1a32e497084d5c70e2d05792032925 (diff)
downloadotp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.tar.gz
otp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.tar.bz2
otp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.zip
Merge remote branch 'upstream/maint' into maint
Diffstat (limited to 'lib/common_test/src/ct_ssh.erl')
-rw-r--r--lib/common_test/src/ct_ssh.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_ssh.erl b/lib/common_test/src/ct_ssh.erl
index 09cd4ef02a..d0d94e1e6e 100644
--- a/lib/common_test/src/ct_ssh.erl
+++ b/lib/common_test/src/ct_ssh.erl
@@ -133,10 +133,11 @@ connect(KeyOrName, ExtraOpts) when is_list(ExtraOpts) ->
%%% is used to identify the connection, this name may
%%% be used as connection reference for subsequent calls.
%%% It's only possible to have one open connection at a time
-%%% associated with <code>Name</code>. If <code>Key</code> is
+%%% associated with <code>Name</code>. If <code>Key</code> is
%%% used, the returned handle must be used for subsequent calls
%%% (multiple connections may be opened using the config
-%%% data specified by <code>Key</code>).</p>
+%%% data specified by <code>Key</code>). See <c>ct:require/2</c>
+%%% for how to create a new <c>Name</c></p>
%%%
%%% <p><code>ConnType</code> will always override the type
%%% specified in the address tuple in the configuration data (and
@@ -152,6 +153,8 @@ connect(KeyOrName, ExtraOpts) when is_list(ExtraOpts) ->
%%% The extra options will override any existing options with the
%%% same key in the config data. For details on valid SSH
%%% options, see the documentation for the OTP ssh application.</p>
+%%%
+%%% @see ct:require/2
connect(KeyOrName, ConnType, ExtraOpts) ->
case ct:get_config(KeyOrName) of
undefined ->