private static void load(String[] argv)
    {
        int argCount = argv.length;
        for (int cnt = 0; cnt < argCount; cnt++)
        {
            // current string must start with "-"
            if ((argv[cnt] == null) || (!argv[cnt].startsWith(ArgumentPrefix)))
                continue;

            // strip off leading "-"
            String propName = argv[cnt].substring(ArgumentPrefix.length(), argv[cnt].length());
            cnt++;

            // following string must NOT start with "-"
            if ((!(cnt < argCount)) || (argv[cnt] == null)
                    || (argv[cnt].startsWith(ArgumentPrefix)))
                continue;
            String propValue = argv[cnt];
            ConfigDb.addVariable(propName, propValue);
        }

        if (booleanVariable("help"))
        {
            System.out.println(ProgramDesc);
            System.out.println();
            System.out.println(ProgramName + " supports the following commandline options:");
            System.out.println();
            System.out.println("     Name                Default Value                           Description");
            System.out.println("     ====                =============                           ===========");
            System.out.println(optionHelpString());
            System.exit(1);
        }
    }