mirror of
https://github.com/Jguer/yay
synced 2024-10-06 08:09:11 +00:00
fix(cmd): fix -h on yay show and get. closes #856
This commit is contained in:
parent
a1941b24bf
commit
cedbcfbcda
3
cmd.go
3
cmd.go
|
@ -227,7 +227,8 @@ func handleQuery(ctx context.Context, cmdArgs *parser.Arguments, dbExecutor db.E
|
|||
}
|
||||
|
||||
func handleHelp(ctx context.Context, cmdArgs *parser.Arguments) error {
|
||||
if cmdArgs.Op == "Y" || cmdArgs.Op == "yay" {
|
||||
switch cmdArgs.Op {
|
||||
case "Y", "yay", "G", "getpkgbuild", "P", "show":
|
||||
usage()
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue