]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Rename local options to include the check pass prefix
authorPetr Machata <pmachata@redhat.com>
Fri, 24 Sep 2010 16:11:26 +0000 (18:11 +0200)
committerPetr Machata <pmachata@redhat.com>
Fri, 24 Sep 2010 16:11:26 +0000 (18:11 +0200)
- 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.

dwarflint/check_nodebug.cc
dwarflint/locstats.cc

index 03df1122724bf405885ef6b26c5162687550b090..f658c615e142cc2bda5cdebf037eb7abe3d71b77 100644 (file)
@@ -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<check_nodebug>
index 9b6f5fa28ce25c3b5f4c5f4f61e35cb12550d554..0fb40282a386576bb0623417ce0c5d695fa3ff6c 100644 (file)
@@ -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<locstats>