diff --git a/weave b/weave index 4d32afe2..a2f4bd72 100755 --- a/weave +++ b/weave @@ -42,7 +42,7 @@ weave launch launch-router [--password ] [--name ] [--nickname ] [--ipalloc-init ] [--ipalloc-range [--ipalloc-default-subnet ]] - [--init-peer-count ] [--no-discovery] [--no-dns] + [--no-discovery] [--no-dns] [--trusted-subnets ,...] ... launch-proxy [-H ] [--without-dns] [--no-multicast-route] [--no-rewrite-hosts] [--no-default-ipalloc] @@ -1865,10 +1865,12 @@ deprecation_warnings() { shift ;; -initpeercount|--initpeercount|-initpeercount=*|--initpeercount=*) - deprecation_warning $1 "--init-peer-count" + deprecation_warning $1 "--ipalloc-init" [ ${1#--} = "initpeercount" ] && shift ;; - --init-peer-count) + --init-peer-count|--init-peer-count=*) + deprecation_warning $1 "--ipalloc-init" + [ ${1#--} = "init-peer-count" ] && shift shift ;; -no-default-ipam|--no-default-ipam)