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 committed 2018-10-09 16:06:14 +01:00
1 parent 5fe9160b1b
commit 73deae94cf
1 file changed
+2 -3
+2 -3
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":