Fix command-line error handling in pterm. (Hint: wrapping a multi-