Fix whitespace
This commit is contained in:
parent
1bca665b29
commit
bce5b03340
|
@ -112,7 +112,7 @@ enum {
|
||||||
OPT_DEST_CLUSTER,
|
OPT_DEST_CLUSTER,
|
||||||
OPT_CLEANUP,
|
OPT_CLEANUP,
|
||||||
|
|
||||||
OPT_TRACE_FORMAT
|
OPT_TRACE_FORMAT
|
||||||
};
|
};
|
||||||
|
|
||||||
CSimpleOpt::SOption g_rgAgentOptions[] = {
|
CSimpleOpt::SOption g_rgAgentOptions[] = {
|
||||||
|
@ -698,8 +698,8 @@ static void printAgentUsage(bool devhelp) {
|
||||||
" unspecified, defaults to the current directory. Has\n"
|
" unspecified, defaults to the current directory. Has\n"
|
||||||
" no effect unless --log is specified.\n");
|
" no effect unless --log is specified.\n");
|
||||||
printf(" --trace_format FORMAT\n"
|
printf(" --trace_format FORMAT\n"
|
||||||
" Select the format of the trace files. xml and json supported.\n"
|
" Select the format of the trace files. xml and json supported.\n"
|
||||||
" Has no effect unless --log is specified.\n");
|
" Has no effect unless --log is specified.\n");
|
||||||
printf(" -m SIZE, --memory SIZE\n"
|
printf(" -m SIZE, --memory SIZE\n"
|
||||||
" Memory limit. The default value is 8GiB. When specified\n"
|
" Memory limit. The default value is 8GiB. When specified\n"
|
||||||
" without a unit, MiB is assumed.\n");
|
" without a unit, MiB is assumed.\n");
|
||||||
|
@ -836,8 +836,8 @@ static void printDBAgentUsage(bool devhelp) {
|
||||||
" unspecified, defaults to the current directory. Has\n"
|
" unspecified, defaults to the current directory. Has\n"
|
||||||
" no effect unless --log is specified.\n");
|
" no effect unless --log is specified.\n");
|
||||||
printf(" --trace_format FORMAT\n"
|
printf(" --trace_format FORMAT\n"
|
||||||
" Select the format of the trace files. xml and json supported.\n"
|
" Select the format of the trace files. xml and json supported.\n"
|
||||||
" Has no effect unless --log is specified.\n");
|
" Has no effect unless --log is specified.\n");
|
||||||
printf(" -m SIZE, --memory SIZE\n"
|
printf(" -m SIZE, --memory SIZE\n"
|
||||||
" Memory limit. The default value is 8GiB. When specified\n"
|
" Memory limit. The default value is 8GiB. When specified\n"
|
||||||
" without a unit, MiB is assumed.\n");
|
" without a unit, MiB is assumed.\n");
|
||||||
|
@ -2397,11 +2397,11 @@ int main(int argc, char* argv[]) {
|
||||||
case OPT_TRACE:
|
case OPT_TRACE:
|
||||||
trace = true;
|
trace = true;
|
||||||
break;
|
break;
|
||||||
case OPT_TRACE_DIR:
|
case OPT_TRACE_DIR:
|
||||||
trace = true;
|
trace = true;
|
||||||
traceDir = args->OptionArg();
|
traceDir = args->OptionArg();
|
||||||
break;
|
break;
|
||||||
case OPT_TRACE_FORMAT:
|
case OPT_TRACE_FORMAT:
|
||||||
if (!selectTraceFormatter(args->OptionArg())) {
|
if (!selectTraceFormatter(args->OptionArg())) {
|
||||||
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args->OptionArg());
|
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args->OptionArg());
|
||||||
}
|
}
|
||||||
|
|
|
@ -403,8 +403,8 @@ static void printProgramUsage(const char* name) {
|
||||||
" unspecified, defaults to the current directory. Has\n"
|
" unspecified, defaults to the current directory. Has\n"
|
||||||
" no effect unless --log is specified.\n"
|
" no effect unless --log is specified.\n"
|
||||||
" --trace_format FORMAT\n"
|
" --trace_format FORMAT\n"
|
||||||
" Select the format of the log files. xml and json supported. Has\n"
|
" Select the format of the log files. xml and json supported. Has\n"
|
||||||
" no effect unless --log is specified.\n"
|
" no effect unless --log is specified.\n"
|
||||||
" --exec CMDS Immediately executes the semicolon separated CLI commands\n"
|
" --exec CMDS Immediately executes the semicolon separated CLI commands\n"
|
||||||
" and then exits.\n"
|
" and then exits.\n"
|
||||||
" --no-status Disables the initial status check done when starting\n"
|
" --no-status Disables the initial status check done when starting\n"
|
||||||
|
@ -2335,12 +2335,12 @@ struct CLIOptions {
|
||||||
return 0;
|
return 0;
|
||||||
case OPT_STATUS_FROM_JSON:
|
case OPT_STATUS_FROM_JSON:
|
||||||
return printStatusFromJSON(args.OptionArg());
|
return printStatusFromJSON(args.OptionArg());
|
||||||
case OPT_TRACE_FORMAT:
|
case OPT_TRACE_FORMAT:
|
||||||
if (!selectTraceFormatter(args.OptionArg())) {
|
if (!selectTraceFormatter(args.OptionArg())) {
|
||||||
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args.OptionArg());
|
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args.OptionArg());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case OPT_VERSION:
|
case OPT_VERSION:
|
||||||
printVersion();
|
printVersion();
|
||||||
return FDB_EXIT_SUCCESS;
|
return FDB_EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -553,7 +553,7 @@ static void printUsage( const char *name, bool devhelp ) {
|
||||||
" files exceeds SIZE bytes. If set to 0, old log files will not\n"
|
" files exceeds SIZE bytes. If set to 0, old log files will not\n"
|
||||||
" be deleted. The default value is 100MiB.\n");
|
" be deleted. The default value is 100MiB.\n");
|
||||||
printf(" --trace_format FORMAT\n"
|
printf(" --trace_format FORMAT\n"
|
||||||
" Select the format of the log files. xml and json supported. \n");
|
" Select the format of the log files. xml and json supported. \n");
|
||||||
printf(" -i ID, --machine_id ID\n"
|
printf(" -i ID, --machine_id ID\n"
|
||||||
" Machine identifier key (up to 16 hex characters). Defaults\n"
|
" Machine identifier key (up to 16 hex characters). Defaults\n"
|
||||||
" to a random value shared by all fdbserver processes on this\n"
|
" to a random value shared by all fdbserver processes on this\n"
|
||||||
|
@ -1132,11 +1132,11 @@ int main(int argc, char* argv[]) {
|
||||||
case OPT_IO_TRUST_WARN_ONLY:
|
case OPT_IO_TRUST_WARN_ONLY:
|
||||||
fileIoWarnOnly = true;
|
fileIoWarnOnly = true;
|
||||||
break;
|
break;
|
||||||
case OPT_TRACE_FORMAT:
|
case OPT_TRACE_FORMAT:
|
||||||
if (!selectTraceFormatter(args.OptionArg())) {
|
if (!selectTraceFormatter(args.OptionArg())) {
|
||||||
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args.OptionArg());
|
fprintf(stderr, "WARNING: Unrecognized trace format `%s'\n", args.OptionArg());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#ifndef TLS_DISABLED
|
#ifndef TLS_DISABLED
|
||||||
case TLSOptions::OPT_TLS_PLUGIN:
|
case TLSOptions::OPT_TLS_PLUGIN:
|
||||||
args.OptionArg();
|
args.OptionArg();
|
||||||
|
|
Loading…
Reference in New Issue