summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c68
1 files changed, 31 insertions, 37 deletions
diff --git a/src/main.c b/src/main.c
index 7a0efd5..4fb3ea4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -73,45 +73,39 @@ static void
_help(const char *program_name)
{
printf("Usage: %s OPTION... PACKAGE\n", program_name);
- puts("Options:");
#ifdef HAVE_GETOPT_LONG
- puts(" -I, --info=CONTROL-FILE Print the named control file. If "
- "this option is");
- puts(" given multiple times, the named "
- "control files will be");
- puts(" printed in the order they appear in "
- "the package.");
- puts(" -f, --control Print the control file.");
- puts(" -c, --contents List the contents of the filesystem "
- "tree archive");
- puts(" portion of the package. It is "
- "currently produced in");
- puts(" a format similar to that generated by "
- "GNU and BusyBox");
- puts(" tar's verbose listing. User and "
- "group IDs and names");
- puts(" are not checked against those on the "
- "host system,");
- puts(" since they may differ.");
- puts(" -h, --help Show this help information and exit.");
- puts(" -V, --version Show version information and exit.");
+ puts("Options:\n"
+" -I, --info=CONTROL-FILE Print the named control file. If this option is\n"
+" given multiple times, the named control files will "
+ "be\n"
+" printed in the order they appear in the package.\n"
+" -f, --control Print the control file.\n"
+" -c, --contents List the contents of the filesystem tree archive\n"
+" portion of the package. It is currently produced "
+ "in\n"
+" a format similar to that generated by GNU and "
+ "BusyBox\n"
+" tar's verbose listing. User and group IDs and "
+ "names\n"
+" are not checked against those on the host system,\n"
+" since they may differ.\n"
+" -h, --help Show this help information and exit.\n"
+" -V, --version Show version information and exit.");
#else
- puts(" -I Print the named control file. If this option is given "
- "multiple times, the");
- puts(" named control files will be printed in the order they "
- "appear in the");
- puts(" package.");
- puts(" -f Print the control file.");
- puts(" -c List the contents of the filesystem tree archive portion "
- "of the package.");
- puts(" It is currently produced in a format similar to that "
- "generated by GNU and");
- puts(" BusyBox tar's verbose listing. User and group IDs and "
- "names are not");
- puts(" checked against those on the host system, since they may "
- "differ.");
- puts(" -h Show this help information and exit.");
- puts(" -V Show version information and exit.");
+ puts("Options:\n"
+" -I Print the named control file. If this option is given multiple times, "
+ "the\n"
+" named control files will be printed in the order they appear in the\n"
+" package.\n"
+" -f Print the control file.\n"
+" -c List the contents of the filesystem tree archive portion of the "
+ "package.\n"
+" It is currently produced in a format similar to that generated by GNU "
+ "and\n"
+" BusyBox tar's verbose listing. User and group IDs and names are not\n"
+" checked against those on the host system, since they may differ.\n"
+" -h Show this help information and exit.\n"
+" -V Show version information and exit.");
#endif
}