From: Petr Machata Date: Fri, 24 Sep 2010 16:11:26 +0000 (+0200) Subject: dwarflint: Rename local options to include the check pass prefix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e8236968ede6077d4d75782bd02c6c470c3f6b9;p=thirdparty%2Felfutils.git dwarflint: Rename local options to include the check pass prefix - The original intention was that this is added automatically, but perhaps the better way to handle it is to make it easy to pick whatever name one wishes. Short options will share namespace anyway, so one has to be careful with their naming anyway. --- diff --git a/dwarflint/check_nodebug.cc b/dwarflint/check_nodebug.cc index 03df11227..f658c615e 100644 --- a/dwarflint/check_nodebug.cc +++ b/dwarflint/check_nodebug.cc @@ -30,7 +30,7 @@ static void_option ignore_missing ("Don't complain if files have no DWARF at all", - "ignore", 'i'); + "nodebug:ignore", 'i'); class check_nodebug : public check diff --git a/dwarflint/locstats.cc b/dwarflint/locstats.cc index 9b6f5fa28..0fb40282a 100644 --- a/dwarflint/locstats.cc +++ b/dwarflint/locstats.cc @@ -43,18 +43,17 @@ namespace string_option opt_ignore ("Skip certain DIEs. class may be one of single_addr, artificial, inlined, \ inlined_subroutine, no_coverage, mutable, or immutable.", - "class[,...]", "ignore"); + "class[,...]", "locstats:ignore"); string_option opt_dump ("Dump certain DIEs. For classes, see option 'ignore'.", - "class[,...]", "dump"); + "class[,...]", "locstats:dump"); string_option opt_tabulation_rule ("Rule for sorting results into buckets. start is either integer 0..100, \ or special value 0.0 indicating cases with no coverage whatsoever \ (i.e. not those that happen to round to 0%).", - "start[:step][,...]", - "tabulate"); + "start[:step][,...]", "locstats:tabulate"); class locstats : public highlevel_check