File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ const HelpCommand = Command.extend({
56
56
57
57
if ( rawArgs . length > 0 ) {
58
58
if ( cmd === rawArgs [ 0 ] ) {
59
- this . ui . writeLine ( command . printDetailedHelp ( commandOptions ) ) ;
59
+ if ( command . printDetailedHelp ) {
60
+ this . ui . writeLine ( command . printDetailedHelp ( commandOptions ) ) ;
61
+ } else {
62
+ this . ui . writeLine ( command . printBasicHelp ( commandOptions ) ) ;
63
+ }
60
64
}
61
65
} else {
62
66
this . ui . writeLine ( command . printBasicHelp ( commandOptions ) ) ;
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ Command.prototype.printBasicHelp = function() {
430
430
431
431
@method printDetailedHelp
432
432
*/
433
- Command . prototype . printDetailedHelp = function ( ) { } ;
433
+ // Command.prototype.printDetailedHelp = function() {};
434
434
435
435
Command . prototype . getJson = function ( options ) {
436
436
var json = { } ;
You can’t perform that action at this time.
0 commit comments