diff --git a/cmd/zenity/main.go b/cmd/zenity/main.go index e5b0713..5da225c 100644 --- a/cmd/zenity/main.go +++ b/cmd/zenity/main.go @@ -5,8 +5,6 @@ import ( "os" "strings" - "rsc.io/getopt" - "github.com/ncruces/zenity" "github.com/ncruces/zenity/internal/cmd" ) @@ -46,7 +44,7 @@ var ( func main() { setupFlags() - getopt.Parse() + flag.Parse() validateFlags() opts := loadFlags() cmd.Command = true diff --git a/go.mod b/go.mod index baba0a3..b62b7b6 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,3 @@ module github.com/ncruces/zenity go 1.13 - -require rsc.io/getopt v0.0.0-20170811000552-20be20937449 diff --git a/go.sum b/go.sum index 5894729..e69de29 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +0,0 @@ -rsc.io/getopt v0.0.0-20170811000552-20be20937449 h1:UukjJOsjQH0DIuyyrcod6CXHS6cdaMMuJmrt+SN1j4A= -rsc.io/getopt v0.0.0-20170811000552-20be20937449/go.mod h1:dhCdeqAxkyt5u3/sKRkUXuHaMXUu1Pt13GTQAM2xnig=