Skip to content

Commit bb303dc

Browse files
committed
Move the summary and improve the help in info module
1 parent 953efdd commit bb303dc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utils/oscap-info.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,11 @@ static int app_info(const struct oscap_action *action);
5959
struct oscap_module OSCAP_INFO_MODULE = {
6060
.name = "info",
6161
.parent = &OSCAP_ROOT_MODULE,
62-
.summary = "info module",
62+
.summary = "Print information about a SCAP file.",
6363
.usage = "some-file.xml",
64-
.help = "Print information about a file\n"
65-
"\n"
66-
"Options:\n"
64+
.help = "Options:\n"
6765
" --fetch-remote-resources - Download remote content referenced by DataStream.\n"
68-
" --profile <id> - Show info of the profile with the given ID..\n"
66+
" --profile <id> - Show info of the profile with the given ID.\n"
6967
" --profiles - Show profiles from the input file in the <id>:<title> format, one line per profile.\n",
7068
.opt_parser = getopt_info,
7169
.func = app_info

0 commit comments

Comments
 (0)