summaryrefslogtreecommitdiff
path: root/flags.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-11 20:25:31 +0200
committerxengineering <me@xengineering.eu>2024-09-11 20:25:54 +0200
commit54029aac92f17ec87d3ef0bb73fcdac271b209c9 (patch)
treee73a23c9c556485102efa1212bf24a908359a3ba /flags.go
parent08150821fdb8fd1af23d84e661e61983a16a36b5 (diff)
downloadceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.tar
ceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.tar.zst
ceres-54029aac92f17ec87d3ef0bb73fcdac271b209c9.zip
Apply go fmt to all source files
This applies default Go code style recommendations.
Diffstat (limited to 'flags.go')
-rw-r--r--flags.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/flags.go b/flags.go
index a7a95e5..3d4c985 100644
--- a/flags.go
+++ b/flags.go
@@ -24,13 +24,13 @@ var flags struct {
func init() {
flag.BoolVar(&flags.version, "version", false, "print version information")
- flag.BoolVar(&flags.version, "v", false, "print version information")
+ flag.BoolVar(&flags.version, "v", false, "print version information")
flag.StringVar(&flags.config, "config", "", "file path to configuration file")
- flag.StringVar(&flags.config, "c", "", "file path to configuration file")
+ flag.StringVar(&flags.config, "c", "", "file path to configuration file")
flag.BoolVar(&flags.examples, "examples", false, "inject example recipes on startup")
- flag.BoolVar(&flags.examples, "e", false, "inject example recipes on startup")
+ flag.BoolVar(&flags.examples, "e", false, "inject example recipes on startup")
flag.Usage = func() {
fmt.Fprintf(flag.CommandLine.Output(), help)