Skip to content

Commit 40542f3

Browse files
authored
doxygen2man: Fix typos and inconsistencies in help text (#497)
1 parent 1070cbc commit 40542f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doxygen2man/doxygen2man.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -1192,26 +1192,26 @@ static void usage(char *name)
11921192
printf(" using the name of the generated .xml file. This file will usually be called\n");
11931193
printf(" something like <include-file>_8h.xml, eg qbipcs_8h.xml\n");
11941194
printf("\n");
1195-
printf(" If you want HTML output then simpy use nroff on the generated files as you\n");
1195+
printf(" If you want HTML output then simply use nroff on the generated files as you\n");
11961196
printf(" would do with any other man page.\n");
11971197
printf("\n");
11981198
printf(" -a Print ASCII dump of man pages to stdout\n");
11991199
printf(" -m Write man page files to <output dir>\n");
12001200
printf(" -P Print PARAMS section\n");
12011201
printf(" -g Print general man page for the whole header file\n");
12021202
printf(" -c Use the Copyright date from the header file (if one can be found)\n");
1203-
printf(" -O <dir> Directory for the orignal header file. Often needed by -c above\n");
1204-
printf(" -s <s> Write man pages into section <s> <default 3)\n");
1205-
printf(" -p <package> Use <package> name. default <Package>\n");
1206-
printf(" -H <header> Set header (default \"Programmer's Manual\"\n");
1203+
printf(" -O <dir> Directory for the original header file. Often needed by -c above\n");
1204+
printf(" -s <s> Write man pages into section <s> (default: 3)\n");
1205+
printf(" -p <package> Use <package> name (default: Package)\n");
1206+
printf(" -H <header> Set header (default: \"Programmer's Manual\"\n");
12071207
printf(" -I <include> Set include filename (default taken from xml)\n");
1208-
printf(" -i <prefix> Prefix for include files. eg qb/ (default \"\")\n");
1209-
printf(" -C <company> Company name in copyright (defaults to Red Hat)\n");
1208+
printf(" -i <prefix> Prefix for include files. eg qb/ (nothing by default)\n");
1209+
printf(" -C <company> Company name in copyright (default: Red Hat)\n");
12101210
printf(" -D <date> Date to print at top of man pages (format not checked, default: today)\n");
12111211
printf(" -S <year> Start year to print at end of copyright line (default: 2010)\n");
12121212
printf(" -Y <year> Year to print at end of copyright line (default: today's year)\n");
1213-
printf(" -o <dir> Write all man pages to <dir> (default .)\n");
1214-
printf(" -d <dir> Directory for XML files (./xml/)\n");
1213+
printf(" -o <dir> Write all man pages to <dir> (default: .)\n");
1214+
printf(" -d <dir> Directory for XML files (default: ./xml/)\n");
12151215
printf(" -h Print this usage text\n");
12161216
}
12171217

0 commit comments

Comments
 (0)