Skip to content

[SR-13494] [build-script] Build script silently ignores flags with that are mistyped #55936

Open
@LucianoPAlmeida

Description

@LucianoPAlmeida
Previous ID SR-13494
Radar rdar://problem/68311641
Original Reporter @LucianoPAlmeida
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Compiler, Project Infrastructure
Labels Improvement
Assignee None
Priority Medium

md5: 2ff910bb37fb2acf347a4aef94b58245

Issue Description:

Build script currently just skips silently if we pass a flag that doesn't exist e.g. There is a flag named -skip-build-benchmarks but if we mistype it like -skip-build-benchmark it just skips it silently.

The ideal should be it at least provide a warning that this particular flag doesn't exist or and will be ignored and maybe suggesting a typo correction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-scriptArea → utils: The build scriptcompilerThe Swift compiler itselfimprovementpythonFlag: Python source codeutilsArea: the build system and other accessory scripts under the "utils" directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions