cli: print two edges at the time, if possible