aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/swarm-smoke/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/swarm-smoke/main.go')
-rw-r--r--cmd/swarm/swarm-smoke/main.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go
index 4ff17fd5b..845998dc1 100644
--- a/cmd/swarm/swarm-smoke/main.go
+++ b/cmd/swarm/swarm-smoke/main.go
@@ -29,6 +29,7 @@ var (
endpoints []string
includeLocalhost bool
cluster string
+ appName string
scheme string
filesize int
from int
@@ -49,6 +50,12 @@ func main() {
Usage: "cluster to point to (prod or a given namespace)",
Destination: &cluster,
},
+ cli.StringFlag{
+ Name: "app",
+ Value: "swarm",
+ Usage: "application to point to (swarm or swarm-private)",
+ Destination: &appName,
+ },
cli.IntFlag{
Name: "cluster-from",
Value: 8501,
@@ -107,5 +114,6 @@ func main() {
err := app.Run(os.Args)
if err != nil {
log.Error(err.Error())
+ os.Exit(1)
}
}