Skip to content

Commit

Permalink
Merge pull request #77 from 0chain/fix/skip-help
Browse files Browse the repository at this point in the history
Updated help message of skip
  • Loading branch information
boddumanohar authored Jun 30, 2023
2 parents 1c2e6c2 + f8a8d4c commit fba5466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func init() {
migrateCmd.Flags().StringVar(&workDir, "wd", filepath.Join(util.GetHomeDir(), ".s3migration"), "Working directory")
migrateCmd.Flags().IntVar(&concurrency, "concurrency", 10, "number of concurrent files to process concurrently during migration")
migrateCmd.Flags().BoolVar(&resume, "resume", false, "pass this option to resume migration from previous state")
migrateCmd.Flags().IntVar(&skip, "skip", 1, "0 --> Replace existing files; 1 --> Skip migration; 2 --> Duplicate")
migrateCmd.Flags().IntVar(&skip, "skip", 1, "0 --> Replace existing files; 1 --> Skip migration; 2 --> Duplicate with timestamp attached at the end of file name")
migrateCmd.Flags().IntVar(&retryCount, "retry", 3, "retry count for upload to dstorage")
migrateCmd.Flags().StringVar(&newerThanStr, "newer-than", "", "eg; 7d10h --> migrate objects that is newer than 7 days 10 hours")
migrateCmd.Flags().StringVar(&olderThanStr, "older-than", "", "eg; 7d10h --> migrate objects that is older than 7 days 10 hours")
Expand Down

0 comments on commit fba5466

Please sign in to comment.