diff options
author | Slack Coder <slackcoder@server.ky> | 2024-10-02 16:49:36 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-10-02 17:01:48 -0500 |
commit | 2597c03d1555e00dec59830b7de75e7090208e05 (patch) | |
tree | 5642202b4621ea722ee85b322d79bbad17894026 /cmd | |
parent | b81d017b42cc814e603de2b49e4b78362ae73f2a (diff) | |
download | mirror-2597c03d1555e00dec59830b7de75e7090208e05.tar.xz |
config: Use TOML
TOML is simple for users, and it is used in notably projects like
rustlang. It also provides comments!
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mirror/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mirror/main.go b/cmd/mirror/main.go index e8a7f6c..4d2e712 100644 --- a/cmd/mirror/main.go +++ b/cmd/mirror/main.go @@ -16,7 +16,7 @@ type Flags struct { func ParseFlags() *Flags { var flags Flags - flag.StringVar(&flags.Config, "config", "/etc/mirror/config.json", "configuration file") + flag.StringVar(&flags.Config, "config", "/etc/mirror/mirror.toml", "configuration file") flag.Parse() return &flags |