5a592e
diff -up ./man/ypbind.8.helpman ./man/ypbind.8
5a592e
--- ./man/ypbind.8.helpman	2013-05-07 11:22:51.178888612 +0200
5a592e
+++ ./man/ypbind.8	2013-05-07 11:23:20.497891948 +0200
5a592e
@@ -31,9 +31,11 @@
5a592e
 ypbind \- NIS binding process
5a592e
 .SH "SYNOPSIS"
5a592e
 .HP \w'\fBypbind\fR\ 'u
5a592e
-\fBypbind\fR [\-c] [\-d | \-debug] [\-verbose] [\-n | \-forground] [\-broadcast] [\-broken\-server] [\-ypset] [\-ypsetme] [\-no\-ping] [\-f\ \fIconfigfile\fR] [\-local\-only] [\-ping\-interval\ \fIping\-interval\fR] [\-rebind\-interval] [\-no\-dbus]
5a592e
+\fBypbind\fR [\-broadcast\ |\ \-ypset\ |\ \-ypsetme] [\-c] [\-f\ \fIconfigfile\fR] [\-no\-ping] [\-broken\-server] [\-local\-only] [\-i\ |\ \-ping\-interval\ \fIping\-interval\fR] [\-r\ |\ \-rebind\-interval\ \fIrebind\-interval\fR] [\-d\ |\ \-debug] [\-v\ |\ \-verbose] [\-n\ |\ \-foreground] [\-p\ \fIport\fR] [\-log\ \fIlog\-options\fR] [\-no\-dbus]
5a592e
 .HP \w'\fBypbind\fR\ 'u
5a592e
 \fBypbind\fR \-\-version
5a592e
+.HP \w'\fBypbind\fR\ 'u
5a592e
+\fBypbind\fR \-\-help
5a592e
 .SH "DESCRIPTION"
5a592e
 .PP
5a592e
 \fBypbind\fR
5a592e
@@ -164,7 +166,7 @@ on the local machine is allowed to chang
5a592e
 only checks if the config file has syntax errors and exits\&.
5a592e
 .RE
5a592e
 .PP
5a592e
-\fB\-debug\fR
5a592e
+\fB\-d, \-debug\fR
5a592e
 .RS 4
5a592e
 starts
5a592e
 \fBypbind\fR
5a592e
@@ -173,13 +175,13 @@ in debug mode\&.
5a592e
 will not put itself into background, and error messages and debug output are written to standard error\&.
5a592e
 .RE
5a592e
 .PP
5a592e
-\fB\-foreground\fR
5a592e
+\fB\-n, \-foreground\fR
5a592e
 .RS 4
5a592e
 \fBypbind\fR
5a592e
 will not put itself into backgroun\&.
5a592e
 .RE
5a592e
 .PP
5a592e
-\fB\-verbose\fR
5a592e
+\fB\-v, \-verbose\fR
5a592e
 .RS 4
5a592e
 Causes
5a592e
 \fBypbind\fR
5a592e
@@ -188,7 +190,7 @@ to syslog(2) any and all changes in the
5a592e
 .PP
5a592e
 \fB\-broken\-server\fR
5a592e
 .RS 4
5a592e
-lets
5a592e
+Lets
5a592e
 \fBypbind\fR
5a592e
 accept answers from servers running on an illegal port number\&. This should usually be avoided, but is required by some
5a592e
 \fBypserv\fR(8)
5a592e
@@ -218,20 +220,36 @@ and not
5a592e
 will only bind to the loopback device and is not reachable from a remote network\&.
5a592e
 .RE
5a592e
 .PP
5a592e
-\fB\-ping\-interval\fR ping\-interval
5a592e
+\fB\-p port\fR
5a592e
+.RS 4
5a592e
+Lets
5a592e
+\fBypbind\fR
5a592e
+listen on a specified
5a592e
+\fBport\fR
5a592e
+number, rather than asking portmapper to assing a port for it\&.
5a592e
+.RE
5a592e
+.PP
5a592e
+\fB\-i, \-ping\-interval\fR ping\-interval
5a592e
 .RS 4
5a592e
 The default value for
5a592e
 \fBypbind\fR
5a592e
 to check, if a NIS server is still reachable, is 20 seconds\&. With this options another frequency in seconds can be specified\&.
5a592e
 .RE
5a592e
 .PP
5a592e
-\fB\-rebind\-interval\fR
5a592e
+\fB\-r, \-rebind\-interval\fR rebind\-interval
5a592e
 .RS 4
5a592e
 The default value for
5a592e
 \fBypbind\fR
5a592e
 to search for the fastest NIS server is 900 seconds (15 minutes)\&. With this options another frequency in seconds can be specified\&.
5a592e
 .RE
5a592e
 .PP
5a592e
+\fB\-log\fR log\-options
5a592e
+.RS 4
5a592e
+Allows to log special events\&.
5a592e
+\fBlog\-options\fR
5a592e
+is a logical sum of values for particular events \- 1 for logging rpc calls, 2 for logging broken server calls, 4 for logging server changes\&.
5a592e
+.RE
5a592e
+.PP
5a592e
 \fB\-no\-dbus\fR
5a592e
 .RS 4
5a592e
 Disables DBUS support if compiled in\&.
5a592e
diff -up ./src/ypbind-mt.c.helpman ./src/ypbind-mt.c
5a592e
--- ./src/ypbind-mt.c.helpman	2013-04-09 16:03:47.000000000 +0200
5a592e
+++ ./src/ypbind-mt.c	2013-05-07 11:22:51.180888612 +0200
5a592e
@@ -513,12 +513,17 @@ usage (int ret)
5a592e
     output = stdout;
5a592e
 
5a592e
   fputs (_("Usage:\n"), output);
5a592e
-  fputs (_("\typbind [-broadcast | -ypset | -ypsetme] [-f configfile]\n\t  [-no-ping] [-broken-server] [-local-only] [-i ping-interval]\n\t  [-r rebind-interval] [-debug] [-verbose] [-n | -foreground]\n"), output);
5a592e
+  fputs ("\typbind [-broadcast | -ypset | -ypsetme] [-f configfile] [-no-ping]\n"
5a592e
+           "\t  [-broken-server] [-local-only] [-i | -ping-interval ping-interval]\n"
5a592e
+           "\t  [-r | -rebind-interval rebind-interval] [-d | -debug] [-v | -verbose]\n"
5a592e
+           "\t  [-n | -foreground] [-p port] [-log log-options]", output);
5a592e
 #ifdef USE_DBUS_NM
5a592e
-  fputs (_("\t  [-no-dbus]\n"), output);
5a592e
+  fputs (" [-no-dbus]", output);
5a592e
 #endif
5a592e
-  fputs (_("\typbind -c [-f configfile]\n"), output);
5a592e
-  fputs (_("\typbind --version\n"), output);
5a592e
+  fputs ("\n", output);
5a592e
+  fputs ("\typbind -c [-f configfile]\n", output);
5a592e
+  fputs ("\typbind --version\n", output);
5a592e
+  fputs ("\typbind --help\n", output);
5a592e
   exit (ret);
5a592e
 }
5a592e