aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates')
-rwxr-xr-xpriv/templates/extended_bin5
-rw-r--r--priv/templates/extended_bin_windows5
2 files changed, 4 insertions, 6 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 6eee7a5..2941083 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -314,9 +314,8 @@ case "$1" in
upgrade|downgrade|install)
if [ -z "$2" ]; then
- 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}"
exit 1
fi
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%
)