From 6e275beea8da960f2495055a0692378bf9fe7de0 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 26 May 2010 07:56:32 +0000 Subject: [PATCH] Patch that suppress the trace argument on cgt. Do not want to show too much of Kite for now. --- bootstrap/coriolis2-for-distribution.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/bootstrap/coriolis2-for-distribution.patch b/bootstrap/coriolis2-for-distribution.patch index 1c050472..405ac247 100644 --- a/bootstrap/coriolis2-for-distribution.patch +++ b/bootstrap/coriolis2-for-distribution.patch @@ -24,3 +24,55 @@ +--- unicorn/src/CgtMain.cpp.soc 2010-05-26 09:50:43.000000000 +0200 ++++ unicorn/src/CgtMain.cpp 2010-05-26 09:52:22.000000000 +0200 +@@ -66,36 +66,6 @@ + using namespace Unicorn; + + +-namespace { +- +- +-// ------------------------------------------------------------------- +-// Function : "printHelp()". +- +- void printHelp () +- { +- cout << endl; +- cout << "Usage: cgt [-v|--verbose] [-V|--very-verbose] [-D|--core-dump] \\\n" +- << " [-l|--trace-level ] [-c|--cell ] \\\n" +- << endl; +- cout << "Options:\n" +- << " o [-v|--verbose] : First level of verbosity.\n" +- << " o [-V|--very-verbose] : Second level of verbosity (very talkative).\n" +- << " o [-D|--core-dump] : Enable core dumping.\n" +- << " o [-l|--trace-level ] :\n" +- << " Sets the level of trace, trace messages with a level superior to\n" +- << " will be printed on .\n" +- << " o [-c|--cell ] :\n" +- << " The name of the Cell to load, without extention.\n" +- << endl; +- } +- +- +-} // End of anonymous namespace. +- +- +- +- + // x-----------------------------------------------------------------x + // | Fonctions Definitions | + // x-----------------------------------------------------------------x +@@ -129,9 +99,9 @@ + poptions::options_description options ("Command line arguments & options"); + options.add_options() + ( "help,h" , "Print this help." ) +- ( "trace-level,l" , poptions::value(&traceLevel)->default_value(1000) +- , "Set the level of trace, trace messages with a level superior to " +- " will be printed on ." ) ++ // ( "trace-level,l" , poptions::value(&traceLevel)->default_value(1000) ++ // , "Set the level of trace, trace messages with a level superior to " ++ // " will be printed on ." ) + ( "verbose,v" , poptions::bool_switch(&verbose1)->default_value(false) + , "First level of verbosity.") + ( "very-verbose,V" , poptions::bool_switch(&verbose2)->default_value(false)