From 65eae15930afa51ed233f4b1e41ef241a845cc58 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 14 Feb 2020 11:58:37 +0700 Subject: cmd/ciigo: remove redundant help flags --- cmd/ciigo/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ciigo/main.go b/cmd/ciigo/main.go index 9427be2..59fc6c6 100644 --- a/cmd/ciigo/main.go +++ b/cmd/ciigo/main.go @@ -43,8 +43,8 @@ import ( ) func main() { - isHelp := flag.Bool("h", false, "print help") - isHelp = flag.Bool("help", false, "print help") + isHelp := flag.Bool("help", false, "print help") + htmlTemplate := flag.String("template", "templates/html.tmpl", "path to HTML template") outputFile := flag.String("out", "ciigo_static.go", -- cgit v1.3