improve error message when neither -n nor -p are provided, see issue #41