mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-23 21:17:56 +02:00
Implemented "beam --timestamp {n}"
This commit is contained in:
parent
4d18a207ee
commit
27685d617a
4 changed files with 11 additions and 2 deletions
|
@ -47,6 +47,7 @@ func init() {
|
|||
beamCmd.MarkPersistentFlagRequired("from")
|
||||
beamCmd.PersistentFlags().StringP("to", "t", "", "Target backend configuration (required)")
|
||||
beamCmd.MarkPersistentFlagRequired("to")
|
||||
beamCmd.PersistentFlags().Int64P("timestamp", "s", 0, "Only import data newer then given Unix timestamp")
|
||||
|
||||
// Cobra supports local flags which will only run when this command
|
||||
// is called directly, e.g.:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue