From: Brandon Low Date: Thu, 3 Feb 2011 03:06:41 +0000 (-0800) Subject: Fix documentation for `bup daemon` X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=33a2251028a0b19336825798fbcfe0a0b3c78d68;p=packages%2Fb%2Fbup.git Fix documentation for `bup daemon` Signed-off-by: Brandon Low --- diff --git a/Documentation/bup-daemon.md b/Documentation/bup-daemon.md index 87ab495..fc032e6 100644 --- a/Documentation/bup-daemon.md +++ b/Documentation/bup-daemon.md @@ -8,13 +8,21 @@ bup-daemon - listens for connections and runs `bup server` # SYNOPSIS -bup daemon +bup daemon [-l address] [-p port] # DESCRIPTION `bup daemon` is a simple bup server which listens on a socket and forks connections to `bup mux server` children. +# OPTIONS + +-l, --listen=*address* +: the address or hostname to listen on + +-p, --port=*port* +: the port to listen on + # BUP Part of the `bup`(1) suite. diff --git a/cmd/daemon-cmd.py b/cmd/daemon-cmd.py index 3507549..f0081c2 100755 --- a/cmd/daemon-cmd.py +++ b/cmd/daemon-cmd.py @@ -4,7 +4,7 @@ from bup import options, path from bup.helpers import * optspec = """ -bup daemon [-l address] [-p port] +bup daemon [options...] -- l,listen ip address to listen on, defaults to * p,port port to listen on, defaults to 1982