From a2b5ce01726514f6e57232f2789d8c10a5eec3bb Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Mon, 6 Feb 2012 14:03:26 -0800 Subject: [PATCH] Add --help-dev option, only print developer options when it is used. --- main.cpp | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/main.cpp b/main.cpp index 45f76658..c2ffe49d 100644 --- a/main.cpp +++ b/main.cpp @@ -93,19 +93,15 @@ usage(int ret) { printf(" [--cpu=]\t\t\tSelect target CPU type\n"); printf(" ={%s}\n", Target::SupportedTargetCPUs()); printf(" [-D]\t\t\t\t#define given value when running preprocessor\n"); - printf(" [--debug]\t\t\t\tPrint information useful for debugging ispc\n"); printf(" [--emit-asm]\t\t\tGenerate assembly language file as output\n"); #ifndef LLVM_2_9 printf(" [--emit-c++]\t\t\tEmit a C++ source file as output\n"); #endif // !LLVM_2_9 printf(" [--emit-llvm]\t\t\tEmit LLVM bitode file as output\n"); printf(" [--emit-obj]\t\t\tGenerate object file file as output (default)\n"); -#if 0 - printf(" [--fuzz-test]\t\t\tRandomly perturb program input to test error conditions\n"); - printf(" [--fuzz-seed=]\t\tSeed value for RNG for fuzz testing\n"); -#endif printf(" [-g]\t\t\t\tGenerate debugging information\n"); printf(" [--help]\t\t\t\tPrint help\n"); + printf(" [--help-dev]\t\t\tPrint help for developer options\n"); printf(" [-h /--header-outfile=]\tOutput filename for header\n"); printf(" [--instrument]\t\t\tEmit instrumentation to gather performance data\n"); printf(" [--math-lib=