Skip to content

Commit

Permalink
Merge pull request #83 from Taiki130/feature/fix-typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
Taiki130 authored Apr 18, 2024
2 parents 73d0928 + d93ccb2 commit 343b46e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If any of the required information is not provided through environment variables
- `--cluster value`: Specifies the ECS cluster name. Default is `$ECSEXEC_CLUSTER`.
- `--service value`: Specifies the ECS service name. Default is `$ECSEXEC_SERVICE`.
- `--container value`: Specifies the container name. Default is `$ECSEXEC_CONTAINER`.
- `--command value`: Specifies the login shell. Default is /bin/sh, and it can be overridden by `$ESCEXEC_COMMAND`.
- `--command value`: Specifies the login shell. Default is /bin/sh, and it can be overridden by `$ECSEXEC_COMMAND`.
- `--help, -h`: Displays the help message.

## Examples
Expand Down Expand Up @@ -67,7 +67,7 @@ You can customize the behavior of the ecsexec command using environment variable
- `ECSEXEC_CLUSTER`: ECS cluster name
- `ECSEXEC_SERVICE`: ECS service name
- `ECSEXEC_CONTAINER`: Container name
- `ESCEXEC_COMMAND`: Login shell
- `ECSEXEC_COMMAND`: Login shell

## License
This project is licensed under the [MIT License](https://github.com/Taiki130/ecsexec?tab=MIT-1-ov-file#readme). See the LICENSE file for details.
2 changes: 1 addition & 1 deletion pkg/cli/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (runner *Runner) Run(ctx context.Context, args ...string) error {
&cli.StringFlag{
Name: "command, cmd",
Usage: "login shell. default: /bin/sh",
EnvVars: []string{"ESCEXEC_COMMAND"},
EnvVars: []string{"ECSEXEC_COMMAND"},
},
},
}
Expand Down

0 comments on commit 343b46e

Please sign in to comment.