Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimberezniker committed Nov 15, 2024
1 parent aa98238 commit 386b738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enterprise/tools/replay_action/replay_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (

// Set one of execution_id or action_digest + source_remote_instance_name.
executionIDs = flag.Slice("execution_id", []string{}, "Execution IDs to replay. Can be specified more than once.")
invocationID = flag.String("invocation_id", "", "Invocation ID to replay.")
invocationID = flag.String("invocation_id", "", "Invocation ID to replay all actions from.")

actionDigest = flag.String("action_digest", "", "The digest of the action you want to replay.")
sourceRemoteInstanceName = flag.String("source_remote_instance_name", "", "The remote instance name used in the source action")
Expand Down Expand Up @@ -285,7 +285,7 @@ func main() {
}

if len(resourceNames) == 0 {
log.Fatalf("Missing -action_digest or -execution_id")
log.Fatalf("Missing -action_digest or -execution_id or -invocation_id")
}

defer func() {
Expand Down

0 comments on commit 386b738

Please sign in to comment.