From 96a297c7470d42c1dea8c41b7febc3a9e0389551 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Tue, 30 Aug 2011 11:19:32 -0700 Subject: [PATCH] Small improvements to help output --- main.cpp | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/main.cpp b/main.cpp index 6fee8e30..aa8cce82 100644 --- a/main.cpp +++ b/main.cpp @@ -67,26 +67,27 @@ static void usage(int ret) { printf(" [--arch={%s}]\t\tSelect target architecture\n", Target::SupportedTargetArchs()); printf(" [--cpu=]\t\t\tSelect target CPU type\n"); - printf(" (%s)\n", Target::SupportedTargetCPUs()); - printf(" [-D]\t\t\t\t#define value when running preprocessor\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"); printf(" [--emit-llvm]\t\t\tEmit LLVM bitode file as output\n"); - printf(" [--emit-obj]\t\t\tGenerate object file file as output\n"); + printf(" [--emit-obj]\t\t\tGenerate object file file as output (default)\n"); printf(" [--fast-math]\t\t\tPerform non-IEEE-compliant optimizations of numeric expressions\n"); printf(" [-g]\t\t\t\tGenerate debugging information\n"); printf(" [--help]\t\t\t\tPrint help\n"); - printf(" [-h] \t\t\t\tOutput filename for header\n"); + printf(" [-h /--header-outfile=]\tOutput filename for header\n"); printf(" [--instrument]\t\t\tEmit instrumentation to gather performance data\n"); printf(" [--math-lib=