From 54029aac92f17ec87d3ef0bb73fcdac271b209c9 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 11 Sep 2024 20:25:31 +0200 Subject: Apply go fmt to all source files This applies default Go code style recommendations. --- flags.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flags.go') 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) -- cgit v1.2.3-70-g09d2