diff options
author | xengineering <me@xengineering.eu> | 2024-05-01 13:58:54 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-05-01 13:58:54 +0200 |
commit | 1e2a3377e43786e25dc03b8612513d47f8dfb3c6 (patch) | |
tree | b1dbe786260a9cd47e9a9af3549e95df27184179 /main.go | |
parent | 390642f9bbc12f0b435f343fc35f4a47c5ec7680 (diff) | |
download | ceres-1e2a3377e43786e25dc03b8612513d47f8dfb3c6.tar ceres-1e2a3377e43786e25dc03b8612513d47f8dfb3c6.tar.zst ceres-1e2a3377e43786e25dc03b8612513d47f8dfb3c6.zip |
Add --config flag
This re-enables config file support.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,10 @@ import ( func main() { flag.Parse() + if config.Path != "" { + config.Read() + } + if printVersion { if gitDescribe == "" { log.Fatal("This build has no version information") |