Skip to content

Commit

Permalink
Remove WITH_DNS variable and deprecate --with-dns option to 'weave run'
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Dec 12, 2015
1 parent b51b1ad commit 3f1a055
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions weave
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ weave connect [--replace] [<peer> ...]
weave forget <peer> ...
weave status [targets | connections | peers | dns]
weave report [-f <format>]
weave run [--with-dns | --without-dns] [--no-rewrite-hosts]
weave run [--without-dns] [--no-rewrite-hosts]
[<addr> ...] <docker run args> ...
weave start [<addr> ...] <container_id>
weave attach [<addr> ...] <container_id>
Expand Down Expand Up @@ -1054,12 +1054,11 @@ dns_args() {
NAME_ARG=""
HOSTNAME_SPECIFIED=
DNS_SEARCH_SPECIFIED=
WITH_DNS=
WITHOUT_DNS=
while [ $# -gt 0 ] ; do
case "$1" in
--with-dns)
WITH_DNS=1
echo "Warning: $1 is deprecated; it is on by default" >&2
;;
--without-dns)
WITHOUT_DNS=1
Expand Down

0 comments on commit 3f1a055

Please sign in to comment.