From 40542f314ebe7312fa995677ed5c967150dd5d6a Mon Sep 17 00:00:00 2001 From: wferi Date: Sat, 18 May 2024 17:12:47 +0200 Subject: [PATCH] doxygen2man: Fix typos and inconsistencies in help text (#497) --- doxygen2man/doxygen2man.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c index a90fefb4..31979678 100644 --- a/doxygen2man/doxygen2man.c +++ b/doxygen2man/doxygen2man.c @@ -1192,7 +1192,7 @@ static void usage(char *name) printf(" using the name of the generated .xml file. This file will usually be called\n"); printf(" something like _8h.xml, eg qbipcs_8h.xml\n"); printf("\n"); - printf(" If you want HTML output then simpy use nroff on the generated files as you\n"); + printf(" If you want HTML output then simply use nroff on the generated files as you\n"); printf(" would do with any other man page.\n"); printf("\n"); printf(" -a Print ASCII dump of man pages to stdout\n"); @@ -1200,18 +1200,18 @@ static void usage(char *name) printf(" -P Print PARAMS section\n"); printf(" -g Print general man page for the whole header file\n"); printf(" -c Use the Copyright date from the header file (if one can be found)\n"); - printf(" -O Directory for the orignal header file. Often needed by -c above\n"); - printf(" -s Write man pages into section Use name. default \n"); - printf(" -H
Set header (default \"Programmer's Manual\"\n"); + printf(" -O Directory for the original header file. Often needed by -c above\n"); + printf(" -s Write man pages into section (default: 3)\n"); + printf(" -p Use name (default: Package)\n"); + printf(" -H
Set header (default: \"Programmer's Manual\"\n"); printf(" -I Set include filename (default taken from xml)\n"); - printf(" -i Prefix for include files. eg qb/ (default \"\")\n"); - printf(" -C Company name in copyright (defaults to Red Hat)\n"); + printf(" -i Prefix for include files. eg qb/ (nothing by default)\n"); + printf(" -C Company name in copyright (default: Red Hat)\n"); printf(" -D Date to print at top of man pages (format not checked, default: today)\n"); printf(" -S Start year to print at end of copyright line (default: 2010)\n"); printf(" -Y Year to print at end of copyright line (default: today's year)\n"); - printf(" -o Write all man pages to (default .)\n"); - printf(" -d Directory for XML files (./xml/)\n"); + printf(" -o Write all man pages to (default: .)\n"); + printf(" -d Directory for XML files (default: ./xml/)\n"); printf(" -h Print this usage text\n"); }