commander.js
commander.js copied to clipboard
Version 1.0.5 breaks help display that worked in 1.0.4
Using the Windows azure node cli (https://github.com/WindowsAzure/azure-sdk-for-node), with commander 1.0.4, our help looked like this:
info:
info: Windows Azure: Microsoft's Cloud Platform
info:
info: Tool version 0.6.5
help:
help: Display help for a given command
help: help [options] [command]
help:
help: Commands:
help: account Manage your account information and publish settings
(truncated for conciseness)
With the new 1.0.5, we get this instead:
info:
info: Windows Azure: Microsoft's Cloud Platform
info:
info: Tool version 0.6.5
help:
help: Display help for a given command
help: undefined [options] [command]
help:
help: Commands:
help: account Manage your account information and publish settings
Note the undefined in there. Also, just about anywhere we print a subcommand name, it comes back as undefined. For example:
> node bin\azure site list
info: Executing command site undefined
That should say "site list", and it does when using 1.0.4.
The commands themselves seem to be working / dispatching properly.
shit not cool, ill check this out tomorrow, remind me in the morning if i dont reply
Any updates?
examples all work for me