Skip to content

Commit

Permalink
Fix arguments for generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 25, 2022
1 parent a4eec1a commit 010206e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/tools/zap/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class CmdLineArgs:
templateFile: str
outputDir: str
runBootstrap: bool
parallel: bool = True


CHIP_ROOT_DIR = os.path.realpath(
Expand Down Expand Up @@ -103,6 +104,9 @@ def runArgumentsParser() -> CmdLineArgs:
help='Output directory for the generated files (default: automatically selected)')
parser.add_argument('--run-bootstrap', default=None, action='store_true',
help='Automatically run ZAP bootstrap. By default the bootstrap is not triggered')
parser.add_argument('--parallel', action='store_true')
parser.add_argument('--no-parallel', action='store_false', dest='parallel')
parser.set_defaults(parallel=True)
args = parser.parse_args()

# By default, this script assumes that the global CHIP template is used with
Expand Down

0 comments on commit 010206e

Please sign in to comment.