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

cannot understand how to use from the documentation #71

Open
baditaflorin opened this issue May 7, 2020 · 3 comments
Open

cannot understand how to use from the documentation #71

baditaflorin opened this issue May 7, 2020 · 3 comments

Comments

@baditaflorin
Copy link

./pgfutter csv --db top10m top10milliondomains.csv
Incorrect Usage: flag provided but not defined: -db

@amanda-D3
Copy link

Same issue here, but it happens for ANY given command line option other than "csv". Running on Ubuntu 18.04 LTS, with the binary from the wget supplied in README.md

@ehmo
Copy link

ehmo commented Aug 18, 2020

The reason is that you have to put global commands first.

So ./pgfutter csv --db top10m top10milliondomains.csv needs to be ./pgfutter --db top10m csv top10milliondomains.csv

@inspector71
Copy link

inspector71 commented Dec 19, 2023

This would ideally be explained in the --help

Unfortunately, whilst specifying flags in this order prevents the Incorrect Usage: flag provided but not defined: -db error, nothing happens when I use this program.

I suspect a connection problem but there's seemingly no error handling when that is the case. So I've no feedback on what might be wrong. For a program that states it's trying to help developers reduce swearing, it's quite frustratingly incomplete, seemingly, yet no indication of, no disrespect intended, it being alpha or beta software.

Alas, despite someone submitting a PR in 2019 to improve error handling, @lukasmartinelli appears to have become unable to continue developing the project. Hopefully he's OK, health wise. Perhaps it would be handy to make this an archived project so it's obvious to people development has stalled or ended?

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

No branches or pull requests

4 participants