Fix argparse fail

This commit is contained in:
kayos@tcp.direct 2022-10-13 23:30:59 -07:00
parent 0fdd1a4b59
commit 205fcd3383
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

@ -302,7 +302,7 @@ func cmdLoad(br *ziggy.Bridge, args []string) error {
if len(args) < 1 {
return errors.New("not enough arguments")
}
js, err := os.ReadFile(args[1])
js, err := os.ReadFile(args[2])
if err != nil {
return err
}