#!/bin/bash

if [ $# -lt 1 ]
then
  echo "Usage: $0 <top_section>"
  echo "Dumps the PDR recursively starting at the specified top section."
  echo "To start at the very top, specify \"\"."
  echo "If the section includes backslashes, double them or enclose the entry in quotes."
  echo "Example: $0 Voip Gateway"
  exit
fi

pdrcmd dump "$*"
