From 19f6c17f69e63251d08b648d6f8ca86242ee62da Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 25 Nov 2014 11:01:05 +0000 Subject: [PATCH] Two minus signs --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 70a56456..aa7e6246 100755 --- a/weave +++ b/weave @@ -6,7 +6,7 @@ usage() { echo "weave launch [-password ] ..." echo "weave launch-dns " echo "weave connect " - echo "weave run [-with-dns] ..." + echo "weave run [--with-dns] ..." echo "weave start " echo "weave attach " echo "weave detach " @@ -413,7 +413,7 @@ case "$COMMAND" in shift 1 fi ;; - -with-dns) + --with-dns) shift 1 DNS_ARG=$(docker inspect --format '--dns {{ .NetworkSettings.IPAddress }}'" --link $DNS_CONTAINER_NAME:$DNS_CONTAINER_NAME" $DNS_CONTAINER_NAME 2>/dev/null) || true DNS_SEARCH_ARG="--dns-search=."