change action from extend to append
This commit is contained in:
parent
79d8ea618a
commit
bc1d100297
2
esgd.py
2
esgd.py
|
@ -227,7 +227,7 @@ def parseArgs():
|
||||||
parse.add_argument("-d", "--dir", default="/var/gopher",
|
parse.add_argument("-d", "--dir", default="/var/gopher",
|
||||||
help="directory to host from")
|
help="directory to host from")
|
||||||
parse.add_argument("-ndx", "--direxc",
|
parse.add_argument("-ndx", "--direxc",
|
||||||
action="extend", nargs="*",
|
action="append", nargs="*",
|
||||||
help="make directory-wide exception for file execution")
|
help="make directory-wide exception for file execution")
|
||||||
parse.add_argument("-nx", "--nocgi", action="store_true",
|
parse.add_argument("-nx", "--nocgi", action="store_true",
|
||||||
help="disable execution of cgi scripts")
|
help="disable execution of cgi scripts")
|
||||||
|
|
Loading…
Reference in New Issue