[Bug 202] New: pdbtool dump does not recognize the -p option
https://bugzilla.balabit.com/show_bug.cgi?id=202 Summary: pdbtool dump does not recognize the -p option Product: syslog-ng Version: 3.3.x Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: erempel@uvic.ca Type of the Report: --- Estimated Hours: 0.0 Man page states dump [options] Display the RADIX tree built from the patterns. This shows how are the patterns represented in syslog-ng and it might also help to track down pattern-matching problems. The dump utility can dump the tree used for matching the PROGRAM or the MSG parts. --debug or -d Enable debug/diagnostic messages on stderr. --pdb or -p Name of the pattern database file to use. --program or -P Displays the RADIX tree built from the patterns belonging to the $PROGRAM application. --program-tree or -T Display the $PROGRAM tree. --verbose or -v Enable verbose messages on stderr. Example and sample output: But the command does localhost% pdbtool dump -P fscheck -p patterndb.xml Error parsing command line arguments: Unknown option -p localhost% pdbtool dump -P fscheck --pdb patterndb.xml Error parsing command line arguments: Unknown option --pdb -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=202 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution| |FIXED Status|NEW |RESOLVED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2012-10-13 10:24:21 --- Thanks for the report, here's the fix: commit 3ff27ba89ddccb87a852aa3591af4d12587a5e50 Author: Balazs Scheidler <bazsi@balabit.hu> Date: Sat Oct 13 10:23:32 2012 +0200 pdbtool dump: fixed -p option parsing And also added a warning if neither -T or -P was specified. Signed-off-by: Balazs Scheidler <bazsi@balabit.hu> Gergely, can you pls backport this to 3.3? it should apply there w/o conflicts. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=202 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |algernon@balabit.hu --- Comment #2 from Gergely Nagy <algernon@balabit.hu> 2012-10-13 10:28:28 ---
Gergely, can you pls backport this to 3.3? it should apply there w/o conflicts.
Done, thanks! -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com