(listfriendships.py): rewrite with add_subparsers.