clarify init-peer-count deprecation warning

Fixes #2355
This commit is contained in:
Matthias Radestock committed 2016-06-20 03:54:16 +01:00
1 parent 99b475056a
commit 67fe1e5daf
1 file changed
+2 -2
+2 -2
View File
@@ -1862,11 +1862,11 @@ deprecation_warnings() {
shift
;;
-initpeercount|--initpeercount|-initpeercount=*|--initpeercount=*)
deprecation_warning $1 "--ipalloc-init"
deprecation_warning $1 "--ipalloc-init consensus=<count>"
[ ${1#--} = "initpeercount" ] && shift
;;
--init-peer-count|--init-peer-count=*)
deprecation_warning $1 "--ipalloc-init"
deprecation_warning $1 "--ipalloc-init consensus=<count>"
[ ${1#--} = "init-peer-count" ] && shift
shift
;;