Parses command-line arguments.  These are
        instruction to the manager to create instances and
        put settings.

def parse_cmdLine_instructions(args):
    """ Parses command-line arguments.  These are
        instruction to the manager to create instances and
        put settings. """
    instructions = dict()
    rargs = list()
    for arg in args:
        if arg[:2] == '--':
            tmp = arg[2:]
            bits = tmp.split('=', 1)
            if len(bits) == 1:
                bits.append('')
            instructions[bits[0]] = bits[1]
        else:
            rargs.append(arg)
    return instructions, rargs