Fixed #330 — Test for options before assuming no arguments were passed in.
Fixed #330 — Test for options before assuming no arguments were passed in.

This restores proper -l/--list-projects behavior broken by 01bc980

Signed-off-by: Brian Rosner <a677bdc11c7f978ab9d888e2543dce85b855e2e0@gmail.com>

alex/pinax,alex/pinax,alex/pinax,amarandon/pinax,amarandon/pinax,amarandon/pinax,amarandon/pinax