Skip to content

Commit

Permalink
fix timeout description
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Dec 9, 2018
1 parent ad29bfa commit 9b9af34
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 @@ -14,7 +14,7 @@ Use provided `docker-compose.yml` and change `FEED` value. All twiter-api creden
```
Application Options:
-r, --refresh= refresh interval (default: 30s) [$REFRESH]
-t, --timeout= twitter timeout (default: 5s) [$TIMEOUT]
-t, --timeout= rss feed timeout (default: 5s) [$TIMEOUT]
-f, --feed= rss feed url [$FEED]
--consumer-key= twitter consumer key [$TWI_CONSUMER_KEY]
--consumer-secret= twitter consumer secret [$TWI_CONSUMER_SECRET]
Expand Down
2 changes: 1 addition & 1 deletion app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

var opts struct {
Refresh time.Duration `short:"r" long:"refresh" env:"REFRESH" default:"30s" description:"refresh interval"`
TimeOut time.Duration `short:"t" long:"timeout" env:"TIMEOUT" default:"5s" description:"twitter timeout"`
TimeOut time.Duration `short:"t" long:"timeout" env:"TIMEOUT" default:"5s" description:"rss feed timeout"`
Feed string `short:"f" long:"feed" env:"FEED" required:"true" description:"rss feed url"`

ConsumerKey string `long:"consumer-key" env:"TWI_CONSUMER_KEY" required:"true" description:"twitter consumer key"`
Expand Down

0 comments on commit 9b9af34

Please sign in to comment.