-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Copy link
Labels
Description
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