Patch that suppress the trace argument on cgt.

Do not want to show too much of Kite for now.
This commit is contained in:
Jean-Paul Chaput 2010-05-26 07:56:32 +00:00
parent e9a8d8b84a
commit 6e275beea8
1 changed files with 52 additions and 0 deletions

View File

@ -24,3 +24,55 @@
</display>
</technologies>
<libraries>
--- 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 <traceLevel>] [-c|--cell <cellName>] \\\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 <traceLevel>] :\n"
- << " Sets the level of trace, trace messages with a level superior to\n"
- << " <traceLevel> will be printed on <stderr>.\n"
- << " o [-c|--cell <cellName>] :\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<unsigned int>(&traceLevel)->default_value(1000)
- , "Set the level of trace, trace messages with a level superior to "
- "<arg> will be printed on <stderr>." )
+ // ( "trace-level,l" , poptions::value<unsigned int>(&traceLevel)->default_value(1000)
+ // , "Set the level of trace, trace messages with a level superior to "
+ // "<arg> will be printed on <stderr>." )
( "verbose,v" , poptions::bool_switch(&verbose1)->default_value(false)
, "First level of verbosity.")
( "very-verbose,V" , poptions::bool_switch(&verbose2)->default_value(false)