protected static void applyCommandLine ( ConfigArgP cap , ArgP argp ) { // --config, --include-config, --help if ( argp . has ( "--help" ) ) { if ( cap . hasNonOption ( "extended" ) ) { System . out . println ( cap . getExtendedUsage ( "tsd extended usage:" ) ) ; } else { System . out . println ( cap . getDefaultUsage ( "tsd usage:" ) ) ; } System . exit ( 0 ) ; } if ( argp . has ( "--config" ) ) { loadConfigSource ( cap , argp . get ( "--config" ) . trim ( ) ) ; } if ( argp . has ( "--include" ) ) { String [ ] sources = argp . get ( "--include" ) . split ( "," ) ; for ( String s : sources ) { loadConfigSource ( cap , s . trim ( ) ) ; } } }
Applies and processes the pre - tsd command line