def main()

in features.py [0:0]


def main(args=None):
    if not args:
        parser = argparse.ArgumentParser()
        set_argparser(parser)
        args = parser.parse_args()

    features = _damon.get_supported_features()

    for feature in sorted(features.keys()):
        if args.type == 'all':
            print('%s: %s' % (feature,
                'Supported' if features[feature] else 'Unsupported'))
        elif args.type == 'supported' and features[feature]:
            print(feature)
        elif args.type == 'unsupported' and not features[feature]:
            print(feature)