<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(args):
 """ Get a river by name. """

    m = RiverManager(args.hosts)
    r = m.get(args.name)
    if r:
        print(json.dumps(r, indent=2))
    else:
        sys.exit(1)