Add missing opts argument to Commander JS

Added missing opts argument to arguments of the command function of
Commander JS
This commit is contained in:
Chris Pearce
2016-01-02 23:24:44 +00:00
parent fe563dff34
commit 6d09e1a5ae
+2 -1
View File
@@ -65,10 +65,11 @@ declare module commander {
*
* @param {String} name
* @param {String} [desc]
* @param {Mixed} [opts]
* @return {Command} the new command
* @api public
*/
command(name:string, desc?:string):ICommand;
command(name:string, desc?:string, opts?: any):ICommand;
/**
* Add an implicit `help [cmd]` subcommand