Skip to content

Commit 60ed8f7

Browse files
authored
Update user guide (#94)
1 parent 1de064d commit 60ed8f7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func NewCmdStash(version string) *cobra.Command {
1313
var rootCmd = &cobra.Command{
1414
Use: "stash",
1515
Short: `Stash by AppsCode - Backup your Kubernetes Volumes`,
16+
Long: `Stash is a Kubernetes operator for restic. For more information, visit here: https://github.com/appscode/stash/tree/master/docs`,
1617
PersistentPreRun: func(c *cobra.Command, args []string) {
1718
c.Flags().VisitAll(func(flag *pflag.Flag) {
1819
log.Printf("FLAG: --%s=%q", flag.Name, flag.Value)

run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func NewCmdRun(version string) *cobra.Command {
8383
cmd.Flags().StringVar(&kubeconfigPath, "kubeconfig", kubeconfigPath, "Path to kubeconfig file with authorization information (the master location is set by the master flag).")
8484
cmd.Flags().StringVar(&address, "address", address, "Address to listen on for web interface and telemetry.")
8585
cmd.Flags().StringVar(&scratchDir, "scratch-dir", scratchDir, "Directory used to store temporary files. Use an `emptyDir` in Kubernetes.")
86-
cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical event to Google Analytics")
86+
cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical events to Google Analytics")
8787

8888
return cmd
8989
}

schedule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ func NewCmdSchedule(version string) *cobra.Command {
8181
cmd.Flags().StringVar(&opt.PodLabelsPath, "pod-labels-path", opt.PodLabelsPath, "Path to pod labels file mounted via Kubernetes Downward api")
8282

8383
// Analytics flags
84-
cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical event to Google Analytics")
84+
cmd.Flags().BoolVar(&enableAnalytics, "analytics", enableAnalytics, "Send analytical events to Google Analytics")
8585
return cmd
8686
}

0 commit comments

Comments
 (0)