Rather than having 2 copies of the usage message, just have one
with #ifdef switches to disable options that are not available in
that build.
Change-Id: I5b2135fba3d42fdbb879d5e8cb61933f4929d598
Reviewed-on: http://gerrit.openafs.org/4305
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
#endif
} else {
/* support help flag */
-#ifndef AFS_NT40_ENV
- printf("Usage: vlserver [-p <number of processes>] [-nojumbo] "
- "[-rxmaxmtu <bytes>] [-rxbind] [-allow-dotted-principals] "
- "[-auditlog <log path>] [-jumbo] [-d <debug level>] "
- "[-syslog[=FACILITY]] "
- "[-enable_peer_stats] [-enable_process_stats] "
- "[-help]\n");
-#else
printf("Usage: vlserver [-p <number of processes>] [-nojumbo] "
"[-rxmaxmtu <bytes>] [-rxbind] [-allow-dotted-principals] "
- "[-auditlog <log path>] [-jumbo] [-d <debug level>] "
- "[-enable_peer_stats] [-enable_process_stats] "
- "[-help]\n");
+ "[-auditlog <log path>] [-jumbo] [-d <debug level>] ");
+#ifndef AFS_NT40_ENV
+ printf("[-syslog[=FACILITY]] ");
#endif
+ printf("[-enable_peer_stats] [-enable_process_stats] "
+ "[-help]\n");
fflush(stdout);
exit(0);
}