Skip to content

Commit

Permalink
Merge pull request #1871 from havardAasen/man-page_scap-as-rpm
Browse files Browse the repository at this point in the history
Minor fix in man-page scap-as-rpm.8
  • Loading branch information
evgenyz authored Jul 19, 2022
2 parents 72dd8ba + bdb43be commit e4091e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions utils/scap-as-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ def main():
parser = argparse.ArgumentParser(
description = "Takes given SCAP input(s) and makes an RPM package that contains them. "
"The result RPM can be installed using # yum install ./package-name-1-1.rpm "
"which will put the contents into /usr/share/xml/scap. No dependency on openscap "
"or scap-workbench is enforced in the output package so you can use any "
"SCAP-capable scanner to evaluate the content.")
"which will put the contents into /usr/share/xml/scap. No dependency on OpenSCAP "
"is enforced in the output package, so you can use any SCAP-capable scanner to "
"evaluate the content.")

# we choose name automatically if its missing
parser.add_argument("--pkg-name", dest = "pkg_name", default = None,
Expand Down
15 changes: 8 additions & 7 deletions utils/scap-as-rpm.8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH scap-as-rpm "8" "November 2013" "scap-as-rpm" "System Administration Utilities"
.SH NAME
scap-as-rpm \- manual page for scap-as-rpm
scap-as-rpm \- takes given SCAP input(s) and packs them in an RPM package
.SH DESCRIPTION
usage: scap\-as\-rpm [\-h] [\-\-pkg\-name PKG_NAME] [\-\-pkg\-version PKG_VERSION]
.IP
Expand All @@ -13,8 +13,9 @@ FILE [FILE ...]
.PP
Takes given SCAP input(s) and makes an RPM package that contains them. The
result RPM can be installed using # yum install ./package\-name\-1\-1.rpm which
will put the contents into \fI/usr/share/xml/scap\fP. No dependency on openscap or scapworkbench is enforced in the output package so you can use any SCAP\-capable
scanner to evaluate the content.
will put the contents into \fI/usr/share/xml/scap\fP. No dependency on OpenSCAP
is enforced in the output package, so you can use any SCAP\-capable scanner to
evaluate the content.
.SS "positional arguments:"
.TP
FILE
Expand All @@ -24,14 +25,14 @@ requirement is not enforced.
.SS "optional arguments:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
Show this help message and exit.
.TP
\fB\-\-pkg\-name\fR PKG_NAME
Name of the RPM package, if none is provided the
Name of the RPM package, if none is provided, the
basename of the first SCAP input is used. Ex.: xyzsecurity\-guide
.HP
.TP
\fB\-\-pkg\-version\fR PKG_VERSION
.HP
.TP
\fB\-\-pkg\-release\fR PKG_RELEASE
.TP
\fB\-\-pkg\-summary\fR PKG_SUMMARY
Expand Down

0 comments on commit e4091e1

Please sign in to comment.