Skip to content

Commit

Permalink
Add dnis to the help
Browse files Browse the repository at this point in the history
  • Loading branch information
osvik committed May 9, 2018
1 parent 685549b commit f704cd5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ Scan a file, like for example a sitemap.xml file, for urls:

This feature is useful to create files with urls to use with [check-my-pages](https://github.com/greenpeace/check-my-pages).

#### Scan Spanish ID numbers

Scan Spanish ID numbers (DNI or NIE)

```bash
./ecounter -input=rawfile.csv -count=dnis -output=uniques.txt
```

#### Hash emails (encrypt)

```bash
Expand Down
2 changes: 1 addition & 1 deletion help.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Use the options as in this example:
-help Display this help
-input=rawfile.csv Define the input file as rawfile.csv
-count=emails What to count in the file. It can be "emails", "sha256" or "urls". By default it counts emails.
-count=emails What to count in the file. It can be "emails", "sha256", "urls" or "dnis". By default it counts emails.
-output=uniques.txt Define the output file as uniques.txt
-encrypt=true Encrypt the results as sha256, to upload to Google Adwords
-debug=true Debug the script
Expand Down

0 comments on commit f704cd5

Please sign in to comment.