/*
 * @(#)TestParms.java
 *
 * Summary: Tool to learn how the command processor interferes with parameters passed.
 *
 * Copyright: (c) 2009 Roedy Green, Canadian Mind Products, http://mindprod.com
 *
 * Licence: This software may be copied and used freely for any purpose but military.
 *          http://mindprod.com/contact/nonmil.html
 *
 * Requires: JDK 1.6+
 *
 * Created with: IntelliJ IDEA IDE.
 *
 * Version History:
 *  1.0 2008-06-08
 */
package com.mindprod.example;

import static java.lang.System.out;

/**
 * Tool to learn how the command processor interferes with parameters passed.
 *
 * @author Roedy Green, Canadian Mind Products
 * @version 1.0 2008-06-08
 * @since 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--" );
        }
    }