import argparse
from lib.parse_route import find_net_sources


def main():
    parser = argparse.ArgumentParser(description="")

    parser.add_argument('route_file')

    args = parser.parse_args()

    with open(args.route_file) as f:
        for net, node in find_net_sources(f):
            print(net, node)


if __name__ == "__main__":
    main()

@@ -105,16 +105,25 @@
 tParser(
+%0A        
 descript
@@ -127,17 +127,59 @@
 iption=%22
-%22
+Print net names and rr graph node id.%22%0A    
 )%0A%0A    p

Add description to print_net_sources.