fix go lint
Some checks failed
Build / docker (push) Failing after 8s

This commit is contained in:
2025-01-26 13:54:41 +01:00
parent fc028a2c55
commit 75b809511e
8 changed files with 14 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ var BackupCmd = &cobra.Command{
}
func init() {
//Backup
// Backup
BackupCmd.PersistentFlags().StringP("storage", "s", "local", "Define storage: local, s3, ssh, ftp, azure")
BackupCmd.PersistentFlags().StringP("path", "P", "", "Storage path without file name. e.g: /custom_path or ssh remote path `/home/foo/backup`")
BackupCmd.PersistentFlags().StringP("cron-expression", "e", "", "Backup cron expression (e.g., `0 0 * * *` or `@daily`)")