File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ var Generator = module.exports = function Generator(args, options) {
22
22
this . appPath = this . env . options . appPath ;
23
23
24
24
if ( typeof this . env . options . coffee === 'undefined' ) {
25
- this . option ( 'coffee' ) ;
25
+ this . option ( 'coffee' , {
26
+ desc : 'Generate CoffeeScript instead of JavaScript'
27
+ } ) ;
26
28
27
29
// attempt to detect if user is using CS or not
28
30
// if cml arg provided, use that; else look for the existence of cs
@@ -35,7 +37,9 @@ var Generator = module.exports = function Generator(args, options) {
35
37
}
36
38
37
39
if ( typeof this . env . options . minsafe === 'undefined' ) {
38
- this . option ( 'minsafe' ) ;
40
+ this . option ( 'minsafe' , {
41
+ desc : 'Generate AngularJS minification safe code'
42
+ } ) ;
39
43
this . env . options . minsafe = this . options . minsafe ;
40
44
args . push ( '--minsafe' ) ;
41
45
}
You can’t perform that action at this time.
0 commit comments