public static void main ( String [ ] args ) { if ( args . length > 0 ) { System . out . printf ( "%s\n" , getFullVersion ( ) ) ; } else { System . out . println ( VERSION ) ; } }
Prints the version followed by a newline and exits .