Update CLI doc for "long" form
authorRobert van Gent <rvangent@google.com>
Fri, 31 May 2019 17:00:15 +0000 (10:00 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 31 May 2019 20:08:12 +0000 (22:08 +0200)
commands/deploy.go

index 65cd9240f8355737bfab2bcf042ef3984a5e7b75..f9f369f4d4b233ea7bdff60b064ccc2bdf14f8c0 100644 (file)
@@ -44,9 +44,11 @@ func newDeployCmd() *deployCmd {
        cc.baseCmd = newBaseCmd(&cobra.Command{
                Use:   "deploy",
                Short: "Deploy your site to a Cloud provider.",
-               // TODO: improve Long docstring.
-               // TODO: update real documentation. Is it in ../docs/ or in hugoDocs?
-               Long: `Deploy your site to a Cloud provider.`,
+               Long: `Deploy your site to a Cloud provider.
+
+See https://gohugo.io/hosting-and-deployment/hugo-deploy/ for detailed
+documentation.
+`,
 
                RunE: func(cmd *cobra.Command, args []string) error {
                        cfgInit := func(c *commandeer) error {