From 63e832c217c0e15c47de7e55b95ab86eac95cb4e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 26 Jun 2022 21:01:47 +0400 Subject: [PATCH] In README.md section Usage was added. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2f5ac9e..f32a66f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,14 @@ justcaptcha ver. 1.0 A simple CAPTCHA service implementation. +## Usage + + justcaptchad -expiry 5m -listen /var/run/justcaptchad/j.sock + +`-expiry` takes time for CAPTCHA to be valid for in format XX{s,m,h}. + +`-listen` is `ip:port` or `/path/to/unix.sock` to listen on. + ## API ### Get a new captcha