Davidlohr Bueso wrote: > On Mon, 2011-11-14 at 02:48 +0100, Bernhard Voelker wrote: > > [PATCH 13/15] prlimit: enhance examples section of the man page > > > > Add various examples to the man page, e.g. demonstrating setting > > limits using short options, showing that the --pid option can be > > used in random positions, how to use the "-1" notation for the > > "unlimited" value, and that prlimit takes the values from the arguments > > last set. > Just a few examples are more than enough to illustrate the point; > manpages have always been this way. I think this is unnecessary and > clogs the document. admitted. Somehow I felt that the existing examples where to homogeneous. Well, prlimit didn't e.g. support passing the PID after other modifying arguments, so I thought that enhancing the examples with the new, "wilder" usage would be nice. ;-) But in these 2 I missed an error: there's a "=" missing between "--pid" and the PID: > > -.IP "\fBprlimit \-\-pid 13134 \--rss --nofile=1024:4095\fP" > > +.IP "\fBprlimit \--rss \-\-pid 13134 --nofile=1024:4095\fP" > > -.IP "\fBprlimit \-\-pid 13134 --nproc=512:\fP" > > +.IP "\fBprlimit \-\-pid 13134 -n512:\fP" I only spotted the missing "=" here, but failed to mention it in the commit log: > > -.IP "\fBprlimit \-\-pid $$ --nproc=unlimited\fP" > > +.IP "\fBprlimit \-\-pid=$$ --nproc=unlimited\fP" What's your recommendation? Have a nice day, Berny-- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html