mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-13 22:37:34 +03:00
deploy: Default --target to the first deployment target
This commit is contained in:
parent
35abce27ca
commit
9df57154ee
3 changed files with 18 additions and 8 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue