aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin_windows
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2016-09-05 22:20:50 +0100
committerLuis Rascao <[email protected]>2016-10-28 12:39:17 +0100
commitcb154f3a54c90000eae9fd582304872eec9db54e (patch)
treebd5b258454426e39bf32c8a00d53f45d006ea2d0 /priv/templates/extended_bin_windows
parentfaddc92b17ece20a7604929adfc573ef81f17404 (diff)
downloadrelx-cb154f3a54c90000eae9fd582304872eec9db54e.tar.gz
relx-cb154f3a54c90000eae9fd582304872eec9db54e.tar.bz2
relx-cb154f3a54c90000eae9fd582304872eec9db54e.zip
Fix upgrade/downgrade/install usage
The second argument is actually the version and not the package name.
Diffstat (limited to 'priv/templates/extended_bin_windows')
-rw-r--r--priv/templates/extended_bin_windows5
1 files changed, 2 insertions, 3 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index d892ea6..a4cc42c 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -175,9 +175,8 @@ set description=Erlang node %node_name% in %rootdir%
:: Relup and reldown
:relup
@if "" == "%2" (
- echo Missing package argument
- echo Usage: %rel_name% %1 {package base name}
- echo NOTE {package base name} MUST NOT include the .tar.gz suffix
+ echo Missing version argument
+ echo Usage: %rel_name% %1 {version}
set ERRORLEVEL=1
exit /b %ERRORLEVEL%
)