blob: 9c1afd38c361cbda4979c04717473dea79fa7ccf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- subcmds/report.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/report.go
@@ -108,7 +108,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.NoProgress, "no-progress", false, "Suppress progress bar")
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")
|