pgfutter icon indicating copy to clipboard operation
pgfutter copied to clipboard

cannot understand how to use from the documentation

Open baditaflorin opened this issue 4 years ago • 3 comments

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

baditaflorin avatar May 07 '20 08:05 baditaflorin

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

amanda-D3 avatar May 07 '20 13:05 amanda-D3

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

ehmo avatar Aug 18 '20 20:08 ehmo

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?

inspector71 avatar Dec 19 '23 03:12 inspector71