diff options
author | Siri Hansen <[email protected]> | 2012-03-12 12:35:05 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-03-19 09:48:54 +0100 |
commit | 048c28bc6c75964c3ee7930f5a1aecae92843c88 (patch) | |
tree | 4d9d6de2c32184ac637437a595714d75136c857e /lib/reltool | |
parent | 3f42375bbfc1657963f1d3aa7688f2ab67f31c1b (diff) | |
download | otp-048c28bc6c75964c3ee7930f5a1aecae92843c88.tar.gz otp-048c28bc6c75964c3ee7930f5a1aecae92843c88.tar.bz2 otp-048c28bc6c75964c3ee7930f5a1aecae92843c88.zip |
[reltool] Fix type spec and doc for app() and mod()
OTP-9792
Also correct documentation of reltool:install/2: first argument is
RelName, not Server.
Diffstat (limited to 'lib/reltool')
-rw-r--r-- | lib/reltool/doc/src/reltool.xml | 11 | ||||
-rw-r--r-- | lib/reltool/src/reltool.hrl | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lib/reltool/doc/src/reltool.xml b/lib/reltool/doc/src/reltool.xml index 60e886e8f5..696ab52e63 100644 --- a/lib/reltool/doc/src/reltool.xml +++ b/lib/reltool/doc/src/reltool.xml @@ -5,7 +5,7 @@ <header> <copyright> <year>2009</year> - <year>2011</year> + <year>2012</year> <holder>Ericsson AB, All Rights Reserved</holder> </copyright> <legalnotice> @@ -433,7 +433,7 @@ sys() = {root_dir, root_dir()} | {excl_archive_filters, excl_archive_filters()} | {archive_opts, [archive_opt()]} app() = {vsn, app_vsn()} - | {mod, mod_name(), mod()} + | {mod, mod_name(), [mod()]} | {mod_cond, mod_cond()} | {incl_cond, incl_cond()} | {debug_info, debug_info()} @@ -445,8 +445,7 @@ app() = {vsn, app_vsn()} | {incl_archive_filters, incl_archive_filters()} | {excl_archive_filters, excl_archive_filters()} | {archive_opts, [archive_opt()]} -mod() = {vsn, app_vsn()} - | {incl_cond, incl_cond()} +mod() = {incl_cond, incl_cond()} | {debug_info, debug_info()} rel_app() = app_name() | {app_name(), app_type()} @@ -664,10 +663,10 @@ target_spec() = [target_spec()] </func> <func> - <name>install(Server, TargetDir) -> ok | {error, Reason}</name> + <name>install(RelName, TargetDir) -> ok | {error, Reason}</name> <fsummary>Install a target system</fsummary> <type> - <v>Server = server()</v> + <v>RelName = rel_name()</v> <v>TargetDir = target_dir()</v> <v>Reason = reason()</v> </type> diff --git a/lib/reltool/src/reltool.hrl b/lib/reltool/src/reltool.hrl index d3eefb7ff0..fc0078715a 100644 --- a/lib/reltool/src/reltool.hrl +++ b/lib/reltool/src/reltool.hrl @@ -63,7 +63,7 @@ -type mod() :: {incl_cond, incl_cond()} | {debug_info, debug_info()}. -type app() :: {vsn, app_vsn()} - | {mod, mod_name(), mod()} + | {mod, mod_name(), [mod()]} | {mod_cond, mod_cond()} | {incl_cond, incl_cond()} | {app_file, app_file()} |