Error on unrecognized input
This patch was authored and released by @tanner0101.
Updates ConsoleKit to throw an error if unrecognized input is passed (#144).
ConsoleKit currently ignores any input it is unable to parse. This makes simple typos confusing to debug, for example:
$ vapor run serve --port=1337
Running on localhost:8080In the above example, invalid option syntax is being used. However, ConsoleKit simply ignores it.
After this update, invalid syntax will result in an error:
$ vapor run serve --port=1337
Error: Input not recognized: --port=1337