From 9ba58ee7f8ca05fae51c17d8eb2fc8e8e404888a Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 11 Apr 2021 13:08:50 +0200 Subject: [PATCH] decsriptions --- cmd/backup.go | 2 +- cmd/exec.go | 2 +- cmd/install.go | 2 +- cmd/upgrade.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/backup.go b/cmd/backup.go index 212ff61..235b356 100644 --- a/cmd/backup.go +++ b/cmd/backup.go @@ -26,7 +26,7 @@ import ( // backupCmd represents the backup command var backupCmd = &cobra.Command{ Use: "backup", - Short: "A brief description of your command", + Short: "Create backups for given locations", Run: func(cmd *cobra.Command, args []string) { config := internal.GetConfig() { diff --git a/cmd/exec.go b/cmd/exec.go index 0174e82..31de2c9 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -25,7 +25,7 @@ import ( // execCmd represents the exec command var execCmd = &cobra.Command{ Use: "exec", - Short: "A brief description of your command", + Short: "Execute arbitrary native restic commands for given backends", Run: func(cmd *cobra.Command, args []string) { config := internal.GetConfig() if err := config.CheckConfig(); err != nil { diff --git a/cmd/install.go b/cmd/install.go index fa91750..ca72923 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -22,7 +22,7 @@ import ( var installCmd = &cobra.Command{ Use: "install", - Short: "A brief description of your command", + Short: "Install restic if missing", Run: func(cmd *cobra.Command, args []string) { err := bins.InstallRestic() cobra.CheckErr(err) diff --git a/cmd/upgrade.go b/cmd/upgrade.go index e12c9fd..910c005 100644 --- a/cmd/upgrade.go +++ b/cmd/upgrade.go @@ -22,7 +22,7 @@ import ( var upgradeCmd = &cobra.Command{ Use: "upgrade", - Short: "A brief description of your command", + Short: "Upgrade autorestic and restic", Run: func(cmd *cobra.Command, args []string) { noRestic, _ := cmd.Flags().GetBool("no-restic") err := bins.Upgrade(!noRestic)