def HandleBuildSelections(arguments):
    if (len(arguments) == 0):
        return
    if (not ('-build' in arguments)):
        return
    if ('-help' in arguments):
        print(GetInfoMsg())
        return
    selectionsToBuild = SwarmTools.GetArgumentValues(arguments, '-build')
    selectionsToBuild += SwarmTools.GetArgumentValues(arguments, '-b')
    buildSelections = GetBuildSelections(arguments)
    BuildSelections(selectionsToBuild, buildSelections)
def HandleBuildSelections(arguments):
    if (len(arguments) == 0):
        return
    if (not ('-build' in arguments)):
        return
    if ('-help' in arguments):
        print(GetInfoMsg())
        return
    selectionsToBuild = SwarmTools.GetArgumentValues(arguments, '-build')
    selectionsToBuild += SwarmTools.GetArgumentValues(arguments, '-b')
    buildSelections = GetBuildSelections(arguments)
    BuildSelections(selectionsToBuild, buildSelections)