Skip to content

Using incorrect/invalid types for CLI flags raises no warnings to user and is passed through as-is, which can result in unexpected behavior #1598

@peterbe

Description

@peterbe

Originally posted by @rschristian in #1596 (comment)

Typing preact watch -p XXXX just goes ahead and starts on the default port (8080).
It should error because XXXX is not a number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions