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

Open
@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions