public static void main (String argv [])
    {
	Device dev = null;

	try {
	    switch (argv.length) {
	    case 3:
		if (!"--portid".equals (argv [0]))
		    usage ();
		dev = getDevice (argv [1]);
		break;
	    case 1:
		dev = getDefaultDevice ();
		break;
	    }
	} catch (IOException e) {
	    System.err.println ("** Exception: " + e.getMessage ());
	}
	if (dev == null)
	    usage ();
	
	System.out.println ("you want results?");
    }