fix(yay): fix --yay typo. fixes #1752

This commit is contained in:
jguer 2022-05-16 23:05:23 +02:00
parent c83b48d474
commit 4ca50e55f0
No known key found for this signature in database
GPG Key ID: 6D6CC9BEA8556B35

2
cmd.go
View File

@ -184,7 +184,7 @@ func handleCmd(ctx context.Context, cmdArgs *parser.Arguments, dbExecutor db.Exe
return handleGetpkgbuild(ctx, cmdArgs, dbExecutor) return handleGetpkgbuild(ctx, cmdArgs, dbExecutor)
case "P", "show": case "P", "show":
return handlePrint(ctx, cmdArgs, dbExecutor) return handlePrint(ctx, cmdArgs, dbExecutor)
case "Y", "--yay": case "Y", "yay":
return handleYay(ctx, cmdArgs, dbExecutor, config.Runtime.QueryBuilder) return handleYay(ctx, cmdArgs, dbExecutor, config.Runtime.QueryBuilder)
} }