Skip to content

Commit

Permalink
Improvements in help and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
osvik committed Aug 13, 2017
1 parent 7717bec commit 99ca8b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Why use it?

* **It's fast** - It parses a 75MB file, counting, selecting and hashing (encrypting) more than 1.000.000 unique email addresses in about 10 seconds in a good laptop computer.
* **It's easy to use** - It parses any csv, html or plain text file. It does not require a specific format and can work from a file combining different formats.
* **It's easy to use** - It parses any csv, html, sql or plain text file. It does not require a specific format and can work from a file combining different formats.
* **It's free** - No cost and the freedom to study and modify to fit.

## How to use it
Expand Down
2 changes: 1 addition & 1 deletion ecounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
inputFile := flag.String("input", "test.txt", "File to do the operations")
countIt := flag.String("count", "emails", "What to count")
outputFile := flag.String("output", "output.txt", "File to output the results")
debug = flag.Bool("debug", false, "Display help")
debug = flag.Bool("debug", false, "Debug the script")
encrypt := flag.Bool("encrypt", false, "Encrypts the emails as sha256")
flag.Parse()

Expand Down
4 changes: 2 additions & 2 deletions help.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ func helpMe() {
* * * HELP * * *
Script to extract unique emails from a text file, including csv, txt or html. Optionally save it as sha 256.
Script to extract unique emails from a text file, including csv, txt, sql or html. Optionally save them hashed (encrypted) as sha256.
Use the options as in this example:
./ecounter -input=rawfile.csv -output=uniques.txt -encripted=true
./ecounter -input=rawfile.csv -count=emails -output=uniques.txt -encrypt=true
-help Display this help
-input=rawfile.csv Define the input file as rawfile.csv
Expand Down

0 comments on commit 99ca8b9

Please sign in to comment.