Skip to content

Commit

Permalink
fittool: clean up parser usage
Browse files Browse the repository at this point in the history
I'd prefer we stop using these non-standard flag parsers
when possible, as we did in u-root. They add little value.

Signed-off-by: Ronald G. Minnich <[email protected]>
  • Loading branch information
rminnich committed Sep 17, 2024
1 parent 405775a commit cfd4618
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmds/fittool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
package main

import (
"log"

"github.com/jessevdk/go-flags"

"github.com/linuxboot/fiano/cmds/fittool/commands"
Expand Down Expand Up @@ -67,5 +69,7 @@ func main() {
}

// parse arguments and execute the appropriate command
flagsParser.Parse()
if _, err := flagsParser.Parse(); err != nil {
log.Fatal(err)
}
}

0 comments on commit cfd4618

Please sign in to comment.