From dbfadc5a7e5bd3163b49878994063cd6d869fe6a Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 24 Mar 2025 21:47:40 +0800 Subject: Refactor --- flags.go | 1 + 1 file changed, 1 insertion(+) (limited to 'flags.go') diff --git a/flags.go b/flags.go index b613206..49bd3ff 100644 --- a/flags.go +++ b/flags.go @@ -11,6 +11,7 @@ var ( secondary bool ) +// This init parses command line flags. func init() { flag.UintVar(&global.NeedBits, "difficulty", 20, "leading zero bits required for the challenge") flag.StringVar(&global.SourceURL, "source", "https://forge.lindenii.runxiyu.org/powxy/:/repos/powxy/", "url to the source code") -- cgit v1.2.3