fprintf(out, " %s [resource ...] [output-format]\n", program_invocation_short_name);
fprintf(out, " %s [resource] -i <id>\n", program_invocation_short_name);
fprintf(out, USAGE_OPTIONS);
- fputs(_(" -i, --id <id> print details on resource identified by id\n"), out);
+ fputs(_(" -i, --id <id> print details on resource identified by <id>\n"), out);
fprintf(out, USAGE_HELP);
fprintf(out, USAGE_VERSION);
- fputs(_("\n"), out);
+ fprintf(out, USAGE_SEPARATOR);
fputs(_("Resource options:\n"), out);
fputs(_(" -m, --shmems shared memory segments\n"), out);
fputs(_(" -q, --queues message queues\n"), out);
fputs(_(" -s, --semaphores semaphores\n"), out);
fputs(_(" -a, --all all (default)\n"), out);
- fputs(_("\n"), out);
+ fprintf(out, USAGE_SEPARATOR);
fputs(_("Output format:\n"), out);
fputs(_(" -t, --time show attach, detach and change times\n"), out);
- fputs(_(" -p, --pid show creator and last operations PIDs\n"), out);
+ fputs(_(" -p, --pid show PIDs of creator and last operator\n"), out);
fputs(_(" -c, --creator show creator and owner\n"), out);
fputs(_(" -l, --limits show resource limits\n"), out);
fputs(_(" -u, --summary show status summary\n"), out);
- fputs(_(" --human show sizes in human readable format\n"), out);
+ fputs(_(" --human show sizes in human-readable format\n"), out);
fputs(_(" -b, --bytes show sizes in bytes\n"), out);
fprintf(out, USAGE_MAN_TAIL("ipcs(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);