Skip to content

wasp build start --help says "Parsing failed" and returns non-zero exit code #3438

@cprecioso

Description

@cprecioso

When you run wasp build start --help, the command says that "Parsing arguments failed" and returns an exit code of 1, but does mention --help as a valid argument.

We should not say "parsing failed" and give a 0 error code.

$ wasp build start --help


❌ --- [Error] Parsing arguments failed: ------------------------------------------

Usage: wasp build start [-c|--client-env NAME=VALUE] 
                        [--client-env-file FILE_PATH] 
                        [-s|--server-env NAME=VALUE] 
                        [--server-env-file FILE_PATH]

Available options:
  -c,--client-env NAME=VALUE
                           Set an environment variable for the client (can be
                           used multiple times)
  --client-env-file FILE_PATH
                           Load environment variables for the client from a file
                           (can be used multiple times)
  -s,--server-env NAME=VALUE
                           Set an environment variable for the server (can be
                           used multiple times)
  --server-env-file FILE_PATH
                           Load environment variables for the server from a file
                           (can be used multiple times)
  -h,--help                Show this help text

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcli

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions