1 From b3c8ef5822dbf3e3272fc29627ddac7e20e936d5 Mon Sep 17 00:00:00 2001
2 From: Dan Walsh <dwalsh@redhat.com>
3 Date: Tue, 20 Sep 2011 15:41:12 -0400
4 Subject: [PATCH 4/6] Fix-man-pages-and-getoptions
8 man/seinfo.1 | 6 +++++-
9 seaudit/seaudit-report.c | 2 +-
10 sediff/sediff.c | 2 +-
11 4 files changed, 9 insertions(+), 3 deletions(-)
13 diff --git a/man/replcon.1 b/man/replcon.1
14 index 8aca08a..478dc51 100644
17 @@ -44,6 +44,8 @@ Search for files which include PATH.
18 .IP "-c CLASS, --class=CLASS"
19 Search only files of object class CLASS.
22 +Enable regular expressions
24 Display context info during replacement.
26 diff --git a/man/seinfo.1 b/man/seinfo.1
27 index 8612119..6bc17db 100644
30 @@ -76,6 +76,10 @@ There is no expanded information for this component.
31 .IP "--nodecon[=ADDR]"
32 Print a list of node contexts or, if ADDR is provided, print the statement for the node with address ADDR.
33 There is no expanded information for this component.
35 +Print policy capabilities.
37 +Print permissive types.
38 .IP "--portcon[=PORT]"
39 Print a list of port contexts or, if PORT is provided, print the statement for port PORT.
40 There is no expanded information for this component.
41 @@ -93,7 +97,7 @@ These details include the types assigned to an attribute or role and the permiss
42 This option is not available for all component types; see the description of each component for the details this option will provide.
44 Print policy statistics including policy type and version information and counts of all components and rules.
46 +.IP "-l, --line-breaks"
47 Print line breaks when displaying constraint statements.
49 Print help information and exit.
50 diff --git a/seaudit/seaudit-report.c b/seaudit/seaudit-report.c
51 index af3c6fb..d436c18 100644
52 --- a/seaudit/seaudit-report.c
53 +++ b/seaudit/seaudit-report.c
54 @@ -100,7 +100,7 @@ static void seaudit_report_info_usage(const char *program_name, int brief)
55 printf(" -s, --stdin read log data from standard input\n");
56 printf(" -m, --malformed include malformed log messages\n");
57 printf(" -o FILE, --output=FILE output to FILE\n");
58 - printf(" --config=FILE read configuration from FILE\n");
59 + printf(" -c FILE, --config=FILE read configuration from FILE\n");
60 printf(" --html set output format to HTML\n");
61 printf(" --stylesheet=FILE HTML style sheet for formatting HTML report\n");
62 printf(" (ignored if --html is not given)\n");
63 diff --git a/sediff/sediff.c b/sediff/sediff.c
64 index 6022775..341c650 100644
67 @@ -420,7 +420,7 @@ int main(int argc, char **argv)
68 poldiff_t *diff = NULL;
71 - while ((optc = getopt_long(argc, argv, "ctarubANDLMCRqhV", longopts, NULL)) != -1) {
72 + while ((optc = getopt_long(argc, argv, "ctarubAqhV", longopts, NULL)) != -1) {