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
6161 */
6262export function getOptionsHelp ( options : Options ) : string {
6363 const typeDoc = getParameterHelp ( options , ParameterScope . TypeDoc ) ;
64- const typeScript = getParameterHelp ( options , ParameterScope . TypeScript ) ;
65- const margin = Math . max ( typeDoc . margin , typeScript . margin ) ;
6664
6765 const output : string [ ] = [ ] ;
6866 output . push ( 'Usage:' ) ;
@@ -72,7 +70,7 @@ export function getOptionsHelp(options: Options): string {
7270 pushHelp ( typeDoc ) ;
7371
7472 output . push ( '' , 'TypeScript options:' ) ;
75- pushHelp ( typeScript ) ;
73+ output . push ( 'See https://www.typescriptlang.org/docs/handbook/compiler-options.html' ) ;
7674
7775 output . push ( '' ) ;
7876 return output . join ( ts . sys . newLine ) ;
@@ -81,7 +79,7 @@ export function getOptionsHelp(options: Options): string {
8179 for ( let i = 0 ; i < columns . names . length ; i ++ ) {
8280 const usage = columns . names [ i ] ;
8381 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 ) ;
8583 }
8684 }
8785
You can’t perform that action at this time.
0 commit comments