aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-06-26 11:52:12 +0200
committerHans Nilsson <[email protected]>2019-06-26 11:52:12 +0200
commite2e16a9fdb99788e77ab12c1834cc819eed49a0c (patch)
tree92915b7a80f1f7abf42eb305dabf224cd116a754 /lib/ssh
parentd274646697e41f7ced18578475e619cddb8392fa (diff)
parent67c4a6f04fd311971e16c4be0511b97cea08d8a6 (diff)
downloadotp-e2e16a9fdb99788e77ab12c1834cc819eed49a0c.tar.gz
otp-e2e16a9fdb99788e77ab12c1834cc819eed49a0c.tar.bz2
otp-e2e16a9fdb99788e77ab12c1834cc819eed49a0c.zip
Merge branch 'maint'
* maint: ssh: Fix spec/doc error for subsystem_specs
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/doc/src/ssh.xml1
-rw-r--r--lib/ssh/src/ssh.hrl3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml
index 3fd6eae423..8b7cb4dcd4 100644
--- a/lib/ssh/doc/src/ssh.xml
+++ b/lib/ssh/doc/src/ssh.xml
@@ -347,6 +347,7 @@
<datatype>
<name name="subsystem_daemon_option"/>
+ <name name="subsystem_specs"/>
<name name="subsystem_spec"/>
<desc>
<p>Defines a subsystem in the daemon.</p>
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl
index 54e98ee10e..0014002192 100644
--- a/lib/ssh/src/ssh.hrl
+++ b/lib/ssh/src/ssh.hrl
@@ -312,7 +312,8 @@
| gen_tcp:listen_option()
| ?COMMON_OPTION .
--type subsystem_daemon_option() :: {subsystems, subsystem_spec()}.
+-type subsystem_daemon_option() :: {subsystems, subsystem_specs()}.
+-type subsystem_specs() :: [ subsystem_spec() ].
-type shell_daemon_option() :: {shell, mod_fun_args() | 'shell_fun/1'() | 'shell_fun/2'() }.
-type 'shell_fun/1'() :: fun((User::string()) -> pid()) .