Skip to content

Commit

Permalink
Fix behaviour typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisMontagne committed May 12, 2015
1 parent dd5a84d commit 1d34f79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ GOPATH=`pwd`/Godeps/_workspace go build -o etcdenv .
| ------ | ------- | ----------- |
| `server`, `s` | http://127.0.0.1:4001 | Location of the etcd server |
| `namespace`, `n`| /environments/production | Etcd directory where the environment variables are fetched. You can watch multiple namespaces by using a comma-separated list (/environments/production,/environments/global) |
| `shutdownBehavour`, `b` | keepalive | Strategy to apply when the process exit, further information into the next paragraph |
| `shutdown-behaviour`, `b` | keepalive | Strategy to apply when the process exit, further information into the next paragraph |
| `watched`, `w` | `""` | A comma-separated list of environment variables triggering the command restart when they change |


Expand Down
2 changes: 1 addition & 1 deletion etcdenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func init() {
flagset.BoolVar(&flags.Version, "v", false, "Print the version and exit")

flagset.StringVar(&flags.ShutdownBehaviour, "b", "keepalive", "Behaviour when the process stop [exit|keepalive|restart]")
flagset.StringVar(&flags.ShutdownBehaviour, "shutdownBehaviour", "keepalive", "Behaviour when the process stop [exit|keepalive|restart]")
flagset.StringVar(&flags.ShutdownBehaviour, "shutdown-behaviour", "keepalive", "Behaviour when the process stop [exit|keepalive|restart]")

flagset.StringVar(&flags.Server, "server", "http://127.0.0.1:4001", "Location of the etcd server")
flagset.StringVar(&flags.Server, "s", "http://127.0.0.1:4001", "Location of the etcd server")
Expand Down

0 comments on commit 1d34f79

Please sign in to comment.