From 048c28bc6c75964c3ee7930f5a1aecae92843c88 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Mon, 12 Mar 2012 12:35:05 +0100 Subject: [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. --- lib/reltool/doc/src/reltool.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/reltool/doc') 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 @@
2009 - 2011 + 2012 Ericsson AB, All Rights Reserved @@ -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()] - install(Server, TargetDir) -> ok | {error, Reason} + install(RelName, TargetDir) -> ok | {error, Reason} Install a target system - Server = server() + RelName = rel_name() TargetDir = target_dir() Reason = reason() -- cgit v1.2.3