Fix bug in athdir command-line parsing

- A bug prevented athdir from supporting the single-positional-argument
  variation of the first invocation mode (with "type" defaulting to
  "bin").
- Add comments documenting the two invocation modes.