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").
- Replace list comprehension and contains with any() per achernya's
  suggestion
- Add comments documenting the two invocation modes.