aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-06-09 02:06:31 +0800
committerIgor Pashev <pashev.igor@gmail.com>2016-06-09 02:06:31 +0800
commita29c0aebe52e1fccdff7c072e527e11319897ed2 (patch)
tree81a0431bfb91d6ef9625b3d68a62701352aa8b57 /README.md
parent939d3a7b58b4340707889ef555fde0bc10145217 (diff)
downloadjuandelacosa-a29c0aebe52e1fccdff7c072e527e11319897ed2.tar.gz
Updated README
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 2 insertions, 10 deletions
diff --git a/README.md b/README.md
index 67eb6fb..e9d7fda 100644
--- a/README.md
+++ b/README.md
@@ -32,18 +32,10 @@ Type `juandelacosa --help` to see usage summary:
-f, --file=MYCNF Read this MySQL client config file
-g, --group=GROUP Read this options group in the above file [default: client]
+ -d, --datadir=DIR Data directory including static files [default: <cabal data dir>]
+
-s, --socket=SOCK Listen on this UNIX-socket [default: /tmp/juandelacosa.sock]
-p, --port=PORT Instead of UNIX-socket, listen on this TCP port (localhost)
-h, --help Show this message
-Example:
-
- $ juandelacosa -p 8080
- $ curl http://localhost:8080 -H 'From: jack.frost@example.com'
- Tiw7CdJOmYxJBZ7J
-
-The above request will change the password for 'jack.frost@example.com'@'%'
-and return the new password to user. Once it's behind Sproxy
-any user can get a new password in a secure way.
-