Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to manual page and usage message #54

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sjvudp
Copy link

@sjvudp sjvudp commented Aug 1, 2018

While configuring SBD, I found out that the manual page is not very complete, and some option syntax is just bad. So I first started to hack the options syntax, but then suspended that, and started to document the program as it is now instead.
This pull request adds massive changes to the manual page, as well as a few changes to the usage() message in C (mostly sorting options by alphabet).

Ulrich Windl added 9 commits July 31, 2018 09:22
Sort option letters by alphabet (numbers first, upper case before lower
case) in manual page.
src/sbd-common.c: Sort options alphabetically in usage().

src/sbd-inquisitor.c:
Sort options alphabetically for getopt() and switch cases in main().
src/sbd-common.c: Add missing options "-c" and "-D" to usage().
man/sbd.8.pod: Add options -c and -D to manual page for completeness.
man/sbd.8.pod:
Rename SUMMARY to DESCRIPTION.  Add section OPTIONS.  Improve description
of options, adding the default value for each.  Fix a few typeset
conventions.
man/sbd.8.pod:  Add subsection "Commands" in "DESCRIPTION", moving all
commands down one level.  Move "Pacemaker CIB integration" and subsections
down one level.  Move "Management tasks" and subsections down one level.
man/sbd.8.pod:
Fix "1 unescaped <> in paragraph at line 7 in file man/sbd.8.pod" in
SYNOPSIS.
man/sbd.8.pod: "SBD" is used in upper and lower cases, sometimes meaning
the command, sometimes the concept.  Replace most occurencies to be typeset
bold (not mono-spaced).  Not done for composites like "SBD device".
man/sbd.8.pod:
Change each command section so start with the typical command syntax.
Try to improve language of remaining sections.
Change most "crashdumps" to "crash-dumps".
Add sections "SIGNALS" "EXIT STATUS", "ENVIRONMENT" and "FILES", most being
quite incomplete.
Add several "=for comment" sections where the documentation could and
should be improved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant