summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1486934..a1815a9 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,15 @@
# passphrasegen
A passphrase generator written in Go
+
+## Usage
+Install with by running `go install`, or build and run by running `go build`.
+
+Generate a passphrase by running `passphrasegen`.
+
+Optional arguments:
+* -w number: number of words to use in the passphrase. Defaults to 4.
+* Path to words file. Defaults to `/usr/share/dict/words`.
+
+### Example
+
+`passwordgen -w 5 /usr/share/dict/american-english`