use flag module from std lib for parsing cmdline args

The getopt thing was an experiment, and I'd rather lose external
dependencies than use getopt-like parsing especially since the only
argument this app takes is largely for testing/development purposes
only.
This commit is contained in:
Clayton Craft
2021-09-04 23:45:44 -07:00
parent b9bea671fa
commit 5dfd1e3787
3 changed files with 5 additions and 13 deletions

1
go.mod
View File

@@ -3,7 +3,6 @@ module gitlab.com/postmarketOS/postmarketos-mkinitfs
go 1.16
require (
git.sr.ht/~sircmpwn/getopt v0.0.0-20201218204720-9961a9c6298f
github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e
github.com/klauspost/compress v1.13.3 // indirect
github.com/klauspost/pgzip v1.2.5