From b67c678b10f3b7cf6c61c7808831876c03467ebf Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 9 Aug 2021 22:50:24 +0200 Subject: WIP: switch from go stdlib `flag` to `flaggy` --- help.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'help.go') diff --git a/help.go b/help.go index 5cd35ac..00c318c 100644 --- a/help.go +++ b/help.go @@ -3,6 +3,8 @@ package main import ( "fmt" + "github.com/integrii/flaggy" + "github.com/rfjakob/gocryptfs/internal/tlog" ) @@ -51,6 +53,6 @@ func helpLong() { fmt.Printf("\n") fmt.Printf(tUsage) fmt.Printf("\nOptions:\n") - flagSet.PrintDefaults() + flaggy.ShowHelp("") fmt.Printf(" --\n Stop option parsing\n") } -- cgit v1.2.3