Add support for specifying edges as pairs (-p).