Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--format should return an error if the format isn't known #20

Closed
lucapette opened this issue May 22, 2017 · 0 comments
Closed

--format should return an error if the format isn't known #20

lucapette opened this issue May 22, 2017 · 0 comments

Comments

@lucapette
Copy link
Owner

Right now, we do not check if the input format is known. That leads to a strange interaction:

We default to the space separated format, therefore the current behavior. It's rather odd (and hard to notice) if the command has a small typo. Example:

$ fakedata -f=tav -l=1 email ipv4
[email protected] 239.201.152.149

The output contains spaces instead of tabs because the input format was tav.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant