don't run without command

This commit is contained in:
2026-01-07 00:02:40 +01:00
parent 8d308178eb
commit 2c2a193b52

View File

@@ -26,7 +26,7 @@ type args struct {
func Run() {
var args args
arg.MustParse(&args)
p := arg.MustParse(&args)
switch {
case args.Scan != nil:
@@ -35,5 +35,7 @@ func Run() {
oplcli.Rename(args.Rename.Files, oplcli.Config{})
case args.Art != nil:
oplcli.DownloadGameArt(args.Art.Files, args.Art.OutputDirectory, oplcli.Config{})
default:
p.Fail("Must specify command")
}
}