Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
do not hidden last backup ts in cmd line
Browse files Browse the repository at this point in the history
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
  • Loading branch information
5kbpers committed Mar 3, 2020
1 parent c4357ee commit 5a8f11f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/task/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ func DefineBackupFlags(flags *pflag.FlagSet) {
flagBackupTimeago, 0,
"The history version of the backup task, e.g. 1m, 1h. Do not exceed GCSafePoint")

flags.Uint64(flagLastBackupTS, 0, "the last time backup ts")
_ = flags.MarkHidden(flagLastBackupTS)
flags.Uint64(flagLastBackupTS, 0, "(experimental) the last time backup ts")
}

// ParseFromFlags parses the backup-related flags from the flag set.
Expand Down

0 comments on commit 5a8f11f

Please sign in to comment.