Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
dont use camel case in flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwen committed Mar 21, 2017
1 parent 5b16db2 commit 101140c
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 @@ -35,10 +35,10 @@ You can define:

- `--listen` - host and port to listen
- `--period` - data refresh period, e.g. 5s or 1m
- `--selenoidUri` - selenoid uri to fetch data from
- `--selenoid-uri` - selenoid uri to fetch data from

### With docker

```
docker run --rm lanwen/selenoid-ui --help
```
```
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func mux(sse *SseBroker) http.Handler {

func init() {
flag.StringVar(&listen, "listen", ":8080", "host and port to listen on")
flag.StringVar(&selenoidUri, "selenoidUri", "http://localhost:4444", "selenoid uri to fetch data from")
flag.StringVar(&selenoidUri, "selenoid-uri", "http://localhost:4444", "selenoid uri to fetch data from")
flag.DurationVar(&period, "period", 5*time.Second, "data refresh period, e.g. 5s or 1m")
flag.Parse()
}
Expand Down

0 comments on commit 101140c

Please sign in to comment.