From 6ae630ffa9bc56cfe00afffd9773d6218642a4c0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 8 Jun 2015 22:32:39 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e38752..511e0eb 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,15 @@ Stabber logs to: # HTTP API To start stabber in standalone mode: ``` -stabber -p 5230 -h 5231 +stabber -p -h -l ``` + +`` - The port on which to run the stubbed XMPP server. + +`` - The port on which to run the HTTP API, optional. + +`` - The log level for Stabber, one of `DEBUG`, `INFO`, `WARN`, `ERROR`. Optional with a default of `INFO`. + The second argument is the HTTP port on which Stabber will listen. ### Sending stanzas