X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/2de0ad0f5c5871d482d778908d08d0dd1b01c821..d13e57242e32a438d1182bdf02488995f2977f5b:/tripe.c diff --git a/tripe.c b/tripe.c index e0985966..adbd7a11 100644 --- a/tripe.c +++ b/tripe.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tripe.c,v 1.10 2003/05/16 12:09:03 mdw Exp $ + * $Id: tripe.c,v 1.11 2003/05/17 11:02:03 mdw Exp $ * * Main program * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: tripe.c,v $ + * Revision 1.11 2003/05/17 11:02:03 mdw + * Document the new `-b' option. + * * Revision 1.10 2003/05/16 12:09:03 mdw * Allow binding to a chosen address. * @@ -109,9 +112,9 @@ void interval(struct timeval *tv, void *v) static void usage(FILE *fp) { - pquis(fp, "Usage: $ [-D] [-d dir] [-p port] [-U user] [-G group]\n\ - [-k priv-keyring] [-K pub-keyring] [-t key-tag]\n\ - [-a socket] [-T trace-opts]\n"); + pquis(fp, "Usage: $ [-D] [-d dir] [-b addr] [-p port]\n\ + [-U user] [-G group] [-a socket] [-T trace-opts]\n\ + [-k priv-keyring] [-K pub-keyring] [-t key-tag]\n"); } static void version(FILE *fp) @@ -133,9 +136,10 @@ Options:\n\ \n\ -D, --daemon Run in the background.\n\ -d, --directory=DIR Switch to directory DIR (default $TRIPEDIR).\n\ +-b, --bind-address=ADDR Bind UDP socket to this IP ADDR.\n\ -p, --port=PORT Select UDP port to listen to.\n\ --u, --setuid=USER Set uid to USER after initialization.\n\ --g, --setgid=GROUP Set gid to GROUP after initialization.\n\ +-U, --setuid=USER Set uid to USER after initialization.\n\ +-G, --setgid=GROUP Set gid to GROUP after initialization.\n\ -k, --priv-keyring=FILE Get private key from FILE.\n\ -K, --pub-keyring=FILE Get public keys from FILE.\n\ -t, --tag=KEYTAG Use private key labelled TAG.\n\