diff --git a/esgd.py b/esgd.py index 6fe9374..9f00339 100755 --- a/esgd.py +++ b/esgd.py @@ -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")