Skip to content

Conversation

@RobinMalfait
Copy link
Member

This PR fixes a bug in the @tailwindcss/cli if you run tailwindcss --output output.css then the help text is shown instead of running tailwindcss itself.

This is because we want to show the --help if you run the CLI with not enough information. However, we only checked for -o and not --output. This PR fixes that.

Fixes: #13368

Right now the only command is the build command and we have to parse the
flags either way (either for the help or for the build itself).

This simplifies the code a bit, because `-o` and `--output` will be
normalised.
@RobinMalfait RobinMalfait merged commit c815221 into next Mar 27, 2024
@RobinMalfait RobinMalfait deleted the fix/issue-13368 branch March 27, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The '--output' option returns usage information

3 participants