version 1.17, 2003/06/03 02:56:15 |
version 1.18, 2007/02/26 15:38:04 |
|
|
static void |
static void |
usage(void) |
usage(void) |
{ |
{ |
char *sopts = "cDFnv"; |
extern char *__progname; |
|
|
(void) fprintf(stderr, |
(void) fprintf(stderr, |
"Usage: %s [-%s] [-A <num>] [-a <num>] [-d var=value]\n", |
"usage: %s [-DFnV] [-Server] [-A num] [-a num] " |
progname, sopts); |
"[-c mini_distfile]\n" |
(void) fprintf(stderr, |
"\t[-d var=value] [-f distfile] [-L remote_logopts] " |
"\t[-f distfile] [-l <msgopt>] [-L <msgopt>] [-M <maxproc>]\n"); |
"[-l local_logopts]\n" |
(void) fprintf(stderr, |
"\t[-M maxproc] [-m host] [-o distopts] [-P rsh-path] " |
"\t[-m host] [-o <distopts>] [-p <rdistd-cmd>] [-P <rsh-path>]\n"); |
"[-p rdistd-path]\n" |
(void) fprintf(stderr, |
"\t[-t timeout] [name ...]\n", __progname); |
"\t[-t <timeout>] [target ...]\n"); |
|
|
|
(void) fprintf(stderr, |
|
"OR: %s [-%s] -c source [...] machine[:dest]\n", |
|
progname, sopts); |
|
|
|
(void) fprintf(stderr, "OR: %s -V\n", progname); |
|
|
|
(void) fprintf(stderr, "\nThe values for <distopts> are:\n\t%s\n", |
(void) fprintf(stderr, "\nThe values for <distopts> are:\n\t%s\n", |
getdistoptlist()); |
getdistoptlist()); |