Skip to content

Commit

Permalink
promplay: use PWD as default directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Sep 18, 2017
1 parent e250edb commit 3005ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/promplay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func replayMatcher(buf []byte) bool {
var (
debug = kingpin.Flag("debug", "Enable debug mode.").Bool()
nopromcfg = kingpin.Flag("nopromcfg", "Disable the generation of the prometheus cfg file (prometheus.yml)").Bool()
dir = kingpin.Flag("dir", "Input directory.").Short('d').OverrideDefaultFromEnvar("INPUT_DIRECTORY").Default("/tmp").String()
dir = kingpin.Flag("dir", "Input directory.").Short('d').OverrideDefaultFromEnvar("INPUT_DIRECTORY").Default(".").String()
framereader = make(<-chan cm.Frame)
version = "0.0.1"
cfgMemoryStorage = local.MemorySeriesStorageOptions{
Expand Down

0 comments on commit 3005ba7

Please sign in to comment.