private static void doUsageTest()
	{
		String[] args0 = {};
		String[] args1 = {"-?"};
		String[] args2 = {"-x","dontcreate.xml","-p","-?","-m","notthere.mvd"};
		// and two sets of invalid arguments should throw MVDToolExceptions
		String[] args3 = {"-c","add","-t","textfile.txt","-?","-m","notthere.mvd"};
		String[] args4 = {"-?","-t","textfile.txt","-m","notthere.mvd","-c","add"};
		try
		{
			System.out.print("Testing usage command ");
			MvdTool.run( args0, out );
			System.out.print(".");
			MvdTool.run( args1, out );
			System.out.print(".");
			MvdTool.run( args2, out );
			System.out.print(".");
			// these two should generate a specific error
			try
			{
				MvdTool.run( args3, out );
				throw new MVDException("Failed to detect faulty arguments");
			}
			catch ( MVDException mvde )
			{
				if ( !(mvde instanceof MVDToolException) )
					throw new MVDTestException( mvde );
				System.out.print(".");
			}
			try
			{
				MvdTool.run( args4, out );
				throw new MVDException("Failed to detect faulty arguments");
			}
			catch ( MVDException mvde )
			{
				if ( !(mvde instanceof MVDToolException) )
					throw new MVDTestException( mvde );
				System.out.print(".");
			}
			testsPassed++;
			System.out.println(" test passed.");
		}
		catch ( Exception e )
		{
			doTestFailed( e );
		}
	}