Fix missing '-' in flags

isArg() was generated from pacman's manpage using a script. All dashes
were stripped out. Some flags used '-' as a seperator and were stripped
out by mistake.
This commit is contained in:
morganamilo 2018-10-09 15:59:17 +01:00
parent 5fe9160b1b
commit 73deae94cf
No known key found for this signature in database
GPG Key ID: 6FE9E7996B0B082E

View File

@ -374,16 +374,15 @@ func isArg(arg string) bool {
case "logfile":
case "noconfirm":
case "confirm":
case "disabledownloadtimeout":
case "disable-download-timeout":
case "sysroot":
case "d", "nodeps":
case "assume-installed":
case "assumeinstalled":
case "dbonly":
case "noprogressbar":
case "noscriptlet":
case "p":
case "printformat":
case "print-format":
case "asdeps":
case "asexplicit":
case "ignore":