From 67fe1e5daf7adfc03d69a9ad4da05a219fb5a1de Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 20 Jun 2016 03:54:16 +0100 Subject: [PATCH] clarify init-peer-count deprecation warning Fixes #2355 --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 3acd6c96..8c712897 100755 --- a/weave +++ b/weave @@ -1862,11 +1862,11 @@ deprecation_warnings() { shift ;; -initpeercount|--initpeercount|-initpeercount=*|--initpeercount=*) - deprecation_warning $1 "--ipalloc-init" + deprecation_warning $1 "--ipalloc-init consensus=" [ ${1#--} = "initpeercount" ] && shift ;; --init-peer-count|--init-peer-count=*) - deprecation_warning $1 "--ipalloc-init" + deprecation_warning $1 "--ipalloc-init consensus=" [ ${1#--} = "init-peer-count" ] && shift shift ;;