Skip to content

Commit

Permalink
clarify init-peer-count deprecation warning
Browse files Browse the repository at this point in the history
Fixes #2355
  • Loading branch information
rade committed Jun 20, 2016
1 parent 99b4750 commit 67fe1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weave
Expand Up @@ -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
;;
Expand Down

0 comments on commit 67fe1e5

Please sign in to comment.