Skip to content

Commit

Permalink
hotfix usage text
Browse files Browse the repository at this point in the history
  • Loading branch information
rgarcia committed Sep 27, 2017
1 parent 3f72d31 commit 07e48e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Usage of sfncli:
-version
Print the version and exit.
-workername string
The worker name to send to AWS Step Functions when processing a task. Environment variables are expanded. The magic string ECS_TASK_ARN will be expanded to the ECS task ARN via the metadata service.
The worker name to send to AWS Step Functions when processing a task. Environment variables are expanded. The magic string MAGIC_ECS_TASK_ARN will be expanded to the ECS task ARN via the metadata service.
```

Example:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
2 changes: 1 addition & 1 deletion cmd/sfncli/sfncli.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var Version string

func main() {
activityName := flag.String("activityname", "", "The activity name to register with AWS Step Functions. $VAR and ${VAR} env variables are expanded.")
workerName := flag.String("workername", "", "The worker name to send to AWS Step Functions when processing a task. Environment variables are expanded. The magic string ECS_TASK_ARN will be expanded to the ECS task ARN via the metadata service.")
workerName := flag.String("workername", "", "The worker name to send to AWS Step Functions when processing a task. Environment variables are expanded. The magic string MAGIC_ECS_TASK_ARN will be expanded to the ECS task ARN via the metadata service.")
cmd := flag.String("cmd", "", "The command to run to process activity tasks.")
region := flag.String("region", "", "The AWS region to send Step Function API calls. Defaults to AWS_REGION.")
printVersion := flag.Bool("version", false, "Print the version and exit.")
Expand Down

0 comments on commit 07e48e3

Please sign in to comment.