Module Name: src
Committed By: wiz
Date: Sun Dec 15 09:18:14 UTC 2013
Modified Files:
src/usr.bin/rpcgen: rpcgen.1
Log Message:
Standardize SYNOPSIS. Sort option descriptions and remove duplicates.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/rpcgen/rpcgen.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/rpcgen/rpcgen.1
diff -u src/usr.bin/rpcgen/rpcgen.1:1.23 src/usr.bin/rpcgen/rpcgen.1:1.24
--- src/usr.bin/rpcgen/rpcgen.1:1.23 Sun Dec 15 00:40:17 2013
+++ src/usr.bin/rpcgen/rpcgen.1 Sun Dec 15 09:18:14 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: rpcgen.1,v 1.23 2013/12/15 00:40:17 christos Exp $
+.\" $NetBSD: rpcgen.1,v 1.24 2013/12/15 09:18:14 wiz Exp $
.\" from: @(#)rpcgen.new.1 1.1 90/11/09 TIRPC 1.0; from 40.10 of 10/10/89
.\" Copyright (c) 1988,1990 Sun Microsystems, Inc. - All Rights Reserved.
.Dd December 14, 2013
@@ -11,19 +11,10 @@
.Nm
.Ar infile
.Nm
-.Op Fl A
-.Op Fl a
-.Op Fl B
-.Op Fl b
+.Op Fl AaBbILMNTv
.Op Fl D Ar name Op =value
-.Op Fl I
.Op Fl i Ar size
.Op Fl K Ar secs
-.Op Fl L
-.Op Fl M
-.Op Fl N
-.Op Fl T
-.Op Fl v
.Op Fl Y Ar pathname
.Ar infile
.Nm
@@ -228,12 +219,12 @@ allows customization of
routines.
.Sh OPTIONS
.Bl -tag -width indent
-.It Fl a
-Generate all the files including sample code for client and server side.
.It Fl A
Generate an
.Fn svc_caller
function.
+.It Fl a
+Generate all the files including sample code for client and server side.
.It Fl B
Generate BSD cplusplus macros (__BEGIN_DECLS, __END_DECLS).
.It Fl b
@@ -269,9 +260,6 @@ option can be used in conjunction to pro
header file which supports
.Tn RPC
dispatch tables.
-.It Fl i Ar size
-Size to decide when to start generating inline code.
-The default size is 3.
.It Fl I
Support
.Xr inetd 8
@@ -284,6 +272,9 @@ in the background, unless
.Dv RCP_SVC_FG
is defined, or the server is compiled without
.Fl I .
+.It Fl i Ar size
+Size to decide when to start generating inline code.
+The default size is 3.
.It Fl K Ar secs
By default, services created using
.Nm
@@ -311,23 +302,11 @@ For such servers,
.Nm
should be used with
.Dq Fl K No -1 .
+.It Fl L
+Server errors will be sent to syslog instead of stderr.
.It Fl l
Compile into client-side stubs.
.Xr inetd 8 .
-.It Fl I
-Compile stubs meant for use in programs started by
-.Xr inetd 8 .
-.It Fl L
-Server errors will be sent to syslog instead of stderr.
-.It Fl m
-Compile into server-side stubs,
-but do not generate a
-.Fn main
-routine.
-This option is useful for doing callback-routines
-and for users who need to write their own
-.Fn main
-routine to do initialization.
.It Fl M
Generate thread-safe stubs.
This alters the calling pattern of client and
@@ -337,6 +316,15 @@ that all components for a particular ser
wrappers, etc.) must be built either with or without the
.Fl M
flag.
+.It Fl m
+Compile into server-side stubs,
+but do not generate a
+.Fn main
+routine.
+This option is useful for doing callback-routines
+and for users who need to write their own
+.Fn main
+routine to do initialization.
.It Fl N
Use the newstyle of
.Nm .
@@ -368,12 +356,6 @@ standard output is used
.Fl m Fl n Fl s
modes only
.Pc
-.It Fl n Ar netid
-Specify the transport for the server-side stubs.
-.Ar netid
-should be defined in
-.Xr netconfig 5 .
-This option can be repeated in order to support more than one transport.
.It Fl s Ar nettype
Compile into server-side stubs for all the
transports belonging to the class
@@ -411,14 +393,14 @@ You would need
to fill in the actual code for the remote procedures.
.\" .It Fl S\&m
.\" Generate a sample Makefile that can be used to compile the application.
-.It Fl t
-Compile into
-.Tn RPC
-dispatch table.
.It Fl T
Generate the code to support
.Tn RPC
dispatch tables.
+.It Fl t
+Compile into
+.Tn RPC
+dispatch table.
.It Fl v
Display the version number.
.It Fl Y Ar pathname