Command line arg -n causes seg fault

Summary: fixes #3539

Reviewed By: @fredemmott

Differential Revision: D1520328