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