Skip to content

Commit bca1220

Browse files
committed
Allow --source to be specified more than once
1 parent 4c5bfaa commit bca1220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
default=None, help="Required peripherals")
107107
parser.add_argument("--dep", dest="dependencies",
108108
default=None, help="Dependencies")
109-
group.add_argument("--source", dest="source_dir", type=argparse_filestring_type,
110-
default=None, help="The source (input) directory", nargs="*")
109+
parser.add_argument("--source", dest="source_dir", type=argparse_filestring_type,
110+
default=None, help="The source (input) directory", action="append")
111111
parser.add_argument("--duration", type=int, dest="duration",
112112
default=None, help="Duration of the test")
113113
parser.add_argument("--build", dest="build_dir",

0 commit comments

Comments
 (0)