From 5b445eb29a3ca37b9526672bd139282ee17fec32 Mon Sep 17 00:00:00 2001 From: Noah Date: Sun, 17 Mar 2024 17:59:56 -0500 Subject: [PATCH] Format main.go --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 4f6ec43..f9b961b 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ var Clients map[string]*gitea.Client func main() { parser := argparse.NewParser("gitivity", "Command line tool to get Gitea statistics") - Times := parser.NewCommand("times", "Get a user's tracked times.") + Times := parser.NewCommand("times", "Get a user's tracked times.") config_path := parser.String("c", "config", &argparse.Options{Required: false, Help: "Configuration file", Default: "./config.lua"}) server_option := parser.String("s", "server", &argparse.Options{Required: false, Help: "Specific server to use"}) @@ -48,8 +48,8 @@ func main() { println("No servers configured / specified") os.Exit(0) } - + if Times.Happened() { - times() - } + times() + } }