package com.mindprod.example;

import static java.lang.System.out;

/**
 * Tool to learn how the command processor interferes with parameters passed.
 * <p/>
 * composed with IntelliJ IDEA
 *
 * @author Roedy Green, Canadian Mind Products
 * @version 1.0  - 2008-06-08
 */
public final class TestParms
    {
    // --------------------------- main() method ---------------------------

    /**
     * Collect and display the parameters.
     *
     * @param args anything.
     */
    public static void main( String[] args )
        {
        out.println( args.length + " parameter" + ( args.length == 1 ? "" : "s" ) );
        for ( String arg : args )
            {
            out.println( "{" + arg + "}" );
            }
        out.println( "--done--" );
        }
    }