Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rpcgen Standardize SYNOPSIS. Sort option description...
details: https://anonhg.NetBSD.org/src/rev/31855806a074
branches: trunk
changeset: 325255:31855806a074
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Dec 15 09:18:14 2013 +0000
description:
Standardize SYNOPSIS. Sort option descriptions and remove duplicates.
diffstat:
usr.bin/rpcgen/rpcgen.1 | 62 +++++++++++++++++-------------------------------
1 files changed, 22 insertions(+), 40 deletions(-)
diffs (139 lines):
diff -r e049a53f099e -r 31855806a074 usr.bin/rpcgen/rpcgen.1
--- a/usr.bin/rpcgen/rpcgen.1 Sun Dec 15 09:14:09 2013 +0000
+++ b/usr.bin/rpcgen/rpcgen.1 Sun Dec 15 09:18:14 2013 +0000
@@ -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 @@
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 @@
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 @@
.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,14 +302,20 @@
.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
+Generate thread-safe stubs.
+This alters the calling pattern of client and
+server stubs so that storage for results is allocated by the caller.
+Note
+that all components for a particular service (stubs, client and service
+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
@@ -328,15 +325,6 @@
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
-server stubs so that storage for results is allocated by the caller.
-Note
-that all components for a particular service (stubs, client and service
-wrappers, etc.) must be built either with or without the
-.Fl M
-flag.
.It Fl N
Use the newstyle of
.Nm .
@@ -368,12 +356,6 @@
.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 @@
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
+Generate the code to support
+.Tn RPC
+dispatch tables.
.It Fl t
Compile into
.Tn RPC
dispatch table.
-.It Fl T
-Generate the code to support
-.Tn RPC
-dispatch tables.
.It Fl v
Display the version number.
.It Fl Y Ar pathname
Home |
Main Index |
Thread Index |
Old Index