src/main/java/com/acme/calculator/main/Startup.java
/**
     * Prints usage information to stdout
     *
     * @param args command-line arguments passed to this program
     */
Prints usage information to stdout
@param args command-line arguments passed to this program
Prints usage information to stdout @param args command - line arguments passed to this program
static void showUsage(final String [] args) {
        logger.debug("showUsage()");
        final String className = Startup.class.getName();
        System.out.println(String.format("Unexpected number of arguments (%d)", args.length));
        System.out.println(String.format("usage:%s\tjava -cp %s %s \"[expression]\" ",NEWLINE, JAR_FILE_NAME, className));
        System.out.println(String.format("example:%s\tjava -cp %s %s \"let(a,7,add(a,div(10,2)))\"",NEWLINE, JAR_FILE_NAME, className));
    }
static void showUsage ( final String [ ] args ) { logger . debug ( "showUsage()" ) ; final String className = Startup . class . getName ( ) ; System . out . println ( String . format ( "Unexpected number of arguments (%d)" , args . length ) ) ; System . out . println ( String . format ( "usage:%s\tjava -cp %s %s \"[expression]\" " , NEWLINE , JAR_FILE_NAME , className ) ) ; System . out . println ( String . format ( "example:%s\tjava -cp %s %s \"let(a,7,add(a,div(10,2)))\"" , NEWLINE , JAR_FILE_NAME , className ) ) ; }
Prints usage information to stdout
 @param args command-line arguments passed to this program
Prints usage information to stdout @param args command - line arguments passed to this program