]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
Fix documentation for `bup daemon`
authorBrandon Low <lostlogic@lostlogicx.com>
Thu, 3 Feb 2011 03:06:41 +0000 (19:06 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 3 Feb 2011 03:19:26 +0000 (19:19 -0800)
Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
Documentation/bup-daemon.md
cmd/daemon-cmd.py

index 87ab495e29340f0ef10dc535881948d7cce24a96..fc032e6d80e600a48fd919c0b319d23085668227 100644 (file)
@@ -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.
index 3507549ced8790793c8ff06b0c2d6b6864ccae8b..f0081c2f9e63b973907a6413889dc0e8214d8379 100755 (executable)
@@ -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