Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert van Gent <rvangent@google.com>2019-05-31 20:10:38 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-06-08 01:41:59 +0300
commit9df57154ee3e3185d024bfe376101b404d8b7cc4 (patch)
tree4b4c1f33f363a8c0c9712d295bcc632e71c8e28c /commands/deploy.go
parent35abce27cabee43cc751db55a75b927f26275833 (diff)
deploy: Default --target to the first deployment target
Diffstat (limited to 'commands/deploy.go')
-rw-r--r--commands/deploy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/deploy.go b/commands/deploy.go
index f9f369f4d..c3999427e 100644
--- a/commands/deploy.go
+++ b/commands/deploy.go
@@ -66,7 +66,7 @@ documentation.
},
})
- cc.cmd.Flags().String("target", "default", "target deployment from deployments section in config file")
+ cc.cmd.Flags().String("target", "", "target deployment from deployments section in config file; defaults to the first one")
cc.cmd.Flags().Bool("confirm", false, "ask for confirmation before making changes to the target")
cc.cmd.Flags().Bool("dryRun", false, "dry run")
cc.cmd.Flags().Bool("force", false, "force upload of all files")