def make_port_list(args):
    """Return a list of the ports asked for by flags to the script"""
    ports = []
    if args.ssh == True:
        ports.append(22)
    if args.https == True:
        ports.append(443)
        ports.append(80)
    if args.port != None:
        ports.append(args.port)
    return ports
