change action from extend to append

This commit is contained in:
randomuser 2021-07-29 21:00:41 -05:00
parent 79d8ea618a
commit bc1d100297
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ def parseArgs():
parse.add_argument("-d", "--dir", default="/var/gopher",
help="directory to host from")
parse.add_argument("-ndx", "--direxc",
action="extend", nargs="*",
action="append", nargs="*",
help="make directory-wide exception for file execution")
parse.add_argument("-nx", "--nocgi", action="store_true",
help="disable execution of cgi scripts")