X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fconfig.cpp;h=905292e9a516869d28a0680d605c9719747c8ba0;hb=5e2538182c99ec053b457255722f704927a5f003;hp=5cb7043cba61799f46f4359d699a3f3de2e7b585;hpb=de6b6757167b76f4c363177d66f3ac4502811b42;p=h316.git diff --git a/pc-tools/ldc2/src/config.cpp b/pc-tools/ldc2/src/config.cpp index 5cb7043..905292e 100644 --- a/pc-tools/ldc2/src/config.cpp +++ b/pc-tools/ldc2/src/config.cpp @@ -1,3 +1,20 @@ +/****************************************************************************** + * + * LDC2 source code + * + * $Date: 2007/12/23 15:25:11 $ + * $Author: hachti $ + * + * $Log: config.cpp,v $ + * Revision 2.1 2007/12/23 15:25:11 hachti + * *** empty log message *** + * + * Revision 2.0 2007-03-26 01:00:38 hachti + * *** empty log message *** + * + * + ******************************************************************************/ + /* * Program configuration management */ @@ -37,6 +54,7 @@ int cfg_ignore_object_integrity_errors=0; int cfg_list_contents=1; int cfg_verbose=0; int cfg_quiet=0; +int cfg_dump_block_contents=0; int cfg_version=0; @@ -61,6 +79,10 @@ void do_config(int argc, char ** args){ "Print all called symbols from the object(s).", &cfg_output_called,true,true); + ar.add_option_switch("d","dump_block_contents", + "Dump block contents", + &cfg_dump_block_contents,true,true); + ar.add_option_switch("e","output_exported", "Print all exported symbols from the object(s).", &cfg_output_exported,true,true);