0fd1802
From b3c8ef5822dbf3e3272fc29627ddac7e20e936d5 Mon Sep 17 00:00:00 2001
0fd1802
From: Dan Walsh <dwalsh@redhat.com>
0fd1802
Date: Tue, 20 Sep 2011 15:41:12 -0400
0fd1802
Subject: [PATCH 4/6] Fix-man-pages-and-getoptions
0fd1802
0fd1802
---
0fd1802
 man/replcon.1            |    2 ++
0fd1802
 man/seinfo.1             |    6 +++++-
0fd1802
 seaudit/seaudit-report.c |    2 +-
0fd1802
 sediff/sediff.c          |    2 +-
0fd1802
 4 files changed, 9 insertions(+), 3 deletions(-)
0fd1802
0fd1802
diff --git a/man/replcon.1 b/man/replcon.1
0fd1802
index 8aca08a..478dc51 100644
0fd1802
--- a/man/replcon.1
0fd1802
+++ b/man/replcon.1
0fd1802
@@ -44,6 +44,8 @@ Search for files which include PATH.
0fd1802
 .IP "-c CLASS, --class=CLASS"
0fd1802
 Search only files of object class CLASS.
0fd1802
 .SH OPTIONS
0fd1802
+.IP "-R, --regex"
0fd1802
+Enable regular expressions
0fd1802
 .IP "-v, --verbose"
0fd1802
 Display context info during replacement.
0fd1802
 .IP "-h, --help"
0fd1802
diff --git a/man/seinfo.1 b/man/seinfo.1
0fd1802
index 8612119..6bc17db 100644
0fd1802
--- a/man/seinfo.1
0fd1802
+++ b/man/seinfo.1
0fd1802
@@ -76,6 +76,10 @@ There is no expanded information for this component.
0fd1802
 .IP "--nodecon[=ADDR]"
0fd1802
 Print a list of node contexts or, if ADDR is provided, print the statement for the node with address ADDR.
0fd1802
 There is no expanded information for this component.
0fd1802
+.IP "--polcap"
0fd1802
+Print policy capabilities.
0fd1802
+.IP "--permissive"
0fd1802
+Print permissive types.
0fd1802
 .IP "--portcon[=PORT]"
0fd1802
 Print a list of port contexts or, if PORT is provided, print the statement for port PORT.
0fd1802
 There is no expanded information for this component.
0fd1802
@@ -93,7 +97,7 @@ These details include the types assigned to an attribute or role and the permiss
0fd1802
 This option is not available for all component types; see the description of each component for the details this option will provide.
0fd1802
 .IP "--stats"
0fd1802
 Print policy statistics including policy type and version information and counts of all components and rules.
0fd1802
-.IP "-l"
0fd1802
+.IP "-l, --line-breaks"
0fd1802
 Print line breaks when displaying constraint statements.
0fd1802
 .IP "-h, --help"
0fd1802
 Print help information and exit.
0fd1802
diff --git a/seaudit/seaudit-report.c b/seaudit/seaudit-report.c
0fd1802
index af3c6fb..d436c18 100644
0fd1802
--- a/seaudit/seaudit-report.c
0fd1802
+++ b/seaudit/seaudit-report.c
0fd1802
@@ -100,7 +100,7 @@ static void seaudit_report_info_usage(const char *program_name, int brief)
0fd1802
 	printf("  -s, --stdin              read log data from standard input\n");
0fd1802
 	printf("  -m, --malformed          include malformed log messages\n");
0fd1802
 	printf("  -o FILE, --output=FILE   output to FILE\n");
0fd1802
-	printf("  --config=FILE            read configuration from FILE\n");
0fd1802
+	printf("  -c FILE, --config=FILE   read configuration from FILE\n");
0fd1802
 	printf("  --html                   set output format to HTML\n");
0fd1802
 	printf("  --stylesheet=FILE        HTML style sheet for formatting HTML report\n");
0fd1802
 	printf("                           (ignored if --html is not given)\n");
0fd1802
diff --git a/sediff/sediff.c b/sediff/sediff.c
0fd1802
index 6022775..341c650 100644
0fd1802
--- a/sediff/sediff.c
0fd1802
+++ b/sediff/sediff.c
0fd1802
@@ -420,7 +420,7 @@ int main(int argc, char **argv)
0fd1802
 	poldiff_t *diff = NULL;
0fd1802
 	size_t total = 0;
0fd1802
 
0fd1802
-	while ((optc = getopt_long(argc, argv, "ctarubANDLMCRqhV", longopts, NULL)) != -1) {
0fd1802
+	while ((optc = getopt_long(argc, argv, "ctarubAqhV", longopts, NULL)) != -1) {
0fd1802
 		switch (optc) {
0fd1802
 		case 0:
0fd1802
 			break;
0fd1802
-- 
0fd1802
1.7.6.2
0fd1802