From 60ed8f7958285c15a4124a3c29d34f011d81adcd Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 28 Jun 2017 07:57:39 -0700 Subject: [PATCH] Update user guide (#94) --- root.go | 1 + run.go | 2 +- schedule.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/root.go b/root.go index 6b3957617..e01fee3b3 100644 --- a/root.go +++ b/root.go @@ -13,6 +13,7 @@ func NewCmdStash(version string) *cobra.Command { var rootCmd = &cobra.Command{ Use: "stash", Short: `Stash by AppsCode - Backup your Kubernetes Volumes`, + Long: `Stash is a Kubernetes operator for restic. For more information, visit here: https://github.com/appscode/stash/tree/master/docs`, PersistentPreRun: func(c *cobra.Command, args []string) { c.Flags().VisitAll(func(flag *pflag.Flag) { log.Printf("FLAG: --%s=%q", flag.Name, flag.Value) diff --git a/run.go b/run.go index 3045bbf56..bf544d02b 100644 --- a/run.go +++ b/run.go @@ -83,7 +83,7 @@ func NewCmdRun(version string) *cobra.Command { cmd.Flags().StringVar(&kubeconfigPath, "kubeconfig", kubeconfigPath, "Path to kubeconfig file with authorization information (the master location is set by the master flag).") cmd.Flags().StringVar(&address, "address", address, "Address to listen on for web interface and telemetry.") cmd.Flags().StringVar(&scratchDir, "scratch-dir", scratchDir, "Directory used to store temporary files. Use an `emptyDir` in Kubernetes.") - cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical event to Google Analytics") + cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical events to Google Analytics") return cmd } diff --git a/schedule.go b/schedule.go index 957a46c4e..f9c58f50f 100644 --- a/schedule.go +++ b/schedule.go @@ -81,6 +81,6 @@ func NewCmdSchedule(version string) *cobra.Command { cmd.Flags().StringVar(&opt.PodLabelsPath, "pod-labels-path", opt.PodLabelsPath, "Path to pod labels file mounted via Kubernetes Downward api") // Analytics flags - cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical event to Google Analytics") + cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical events to Google Analytics") return cmd }