From: Hans Anderson Date: Tue, 25 Jun 2019 00:35:52 +0000 (-0600) Subject: Fix default argument for tasknames X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=597beb63800d34f38ad6ecb2f503442406f5e425;p=SymbiYosys.git Fix default argument for tasknames --- diff --git a/sbysrc/sby.py b/sbysrc/sby.py index af36c71..d82b7a3 100644 --- a/sbysrc/sby.py +++ b/sbysrc/sby.py @@ -41,6 +41,7 @@ parser.add_argument("-b", action="store_true", dest="backup", parser.add_argument("-t", action="store_true", dest="tmpdir", help="run in a temporary workdir (remove when finished)") parser.add_argument("-T", metavar="", action="append", dest="tasknames", + default=list(), help="add taskname (useful when sby file is read from stdin, ignored if tasknames are given as positional arguments)") parser.add_argument("-E", action="store_true", dest="throw_err", help="throw an exception (incl stack trace) for most errors")