File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ function getParameterHelp(options: Options, scope: ParameterScope): ParameterHel
61
61
*/
62
62
export function getOptionsHelp ( options : Options ) : string {
63
63
const typeDoc = getParameterHelp ( options , ParameterScope . TypeDoc ) ;
64
- const typeScript = getParameterHelp ( options , ParameterScope . TypeScript ) ;
65
- const margin = Math . max ( typeDoc . margin , typeScript . margin ) ;
66
64
67
65
const output : string [ ] = [ ] ;
68
66
output . push ( 'Usage:' ) ;
@@ -72,7 +70,7 @@ export function getOptionsHelp(options: Options): string {
72
70
pushHelp ( typeDoc ) ;
73
71
74
72
output . push ( '' , 'TypeScript options:' ) ;
75
- pushHelp ( typeScript ) ;
73
+ output . push ( 'See https://www.typescriptlang.org/docs/handbook/compiler-options.html' ) ;
76
74
77
75
output . push ( '' ) ;
78
76
return output . join ( ts . sys . newLine ) ;
@@ -81,7 +79,7 @@ export function getOptionsHelp(options: Options): string {
81
79
for ( let i = 0 ; i < columns . names . length ; i ++ ) {
82
80
const usage = columns . names [ i ] ;
83
81
const description = columns . helps [ i ] ;
84
- output . push ( usage + padding ( margin - usage . length + 2 ) + description ) ;
82
+ output . push ( usage + padding ( typeDoc . margin - usage . length + 2 ) + description ) ;
85
83
}
86
84
}
87
85
You can’t perform that action at this time.
0 commit comments