Work on all actions.

This commit is contained in:
Dominik Pantůček 2023-05-26 15:58:42 +02:00
parent 42505fd4a8
commit 8f062f956a
2 changed files with 34 additions and 15 deletions

View file

@ -67,59 +67,78 @@ hackerbase - HackerSpace Members Database tool
.TP .TP
.B \-h .B \-h
Show help. Display brief description of all actions and options.
.TP .TP
.B \-license .B \-license
Show licensing terms. Show licensing terms. See \fBCOPYRIGHT\fR.
.TP .TP
.B \-info .B \-info
Show info With no member specified by neither \fB-mi\fR nor \fB-mn\fR display
overall hackerbase information with organizational bodies memberships
and lists of members of various statuses.
When a member is specified, displays its information from the
database, all identified bank transactions, membership information and
a calendar showing current status of the member during given month.
.TP .TP
.B \-print .B \-print
print file Prints given member file with errors and warnings highlighted.
.TP .TP
.B \-blame .B \-blame
blame file Prints given member file annotated by the date of last change for each
line with errors and warnings highlithed.
.TP .TP
.B \-edit .B \-edit
edit file Starts text editor on given user member file. It uses the $EDITOR
environment variable as user's editor preference. If this variable is
unset, it uses whichever editor is found in $PATH under the name
"editor".
.TP .TP
.B \-fees .B \-fees
fees table Prints a table listing all existing members and their balance with
respect to paying their membership fees. If the \fB\-destroyed\fR
option is provided then even destroyed members are included.
.TP .TP
.B \-problems .B \-problems
show problems Checks all member records for problems and if any are found, print for
each of them the information table (like \fB\-info\fR for one member)
and annotated and highlighted member file source.
.TP .TP
.B \-status .B \-status
git status Show members directory git repository status. Used for checking
whether there are untracked and/or uncommitted changes.
.TP .TP
.B \-unpaired .B \-unpaired
unknown trans Display a table with unpaired bank transactions with ID greater than
the last id that was manually checked. See \fB\-checked\fR option.
.TP .TP
.B \-idstats .B \-idstats
allocated ids Returns information about used and available member IDs.
.TP .TP
.B \-genid .B \-genid
generate id Generates a valid member id that is not used yet.
.TP .TP
.B \-mlcheck .B \-mlcheck
check membership internal Check internal mailinglist membership. All members - including
suspended ones - should be subscribed this mailinglist. No other
emails should be subscribed to it.
.TP .TP
.B \-mlsync .B \-mlsync
sync internal membership Like \fB\-mlcheck\fR but automatically ensuring the subscriptions are
according to the specification.
.TP .TP
.B \-notify .B \-notify

View file

@ -312,7 +312,7 @@
(when (not (null? mrs)) (when (not (null? mrs))
(newline) (newline)
(print-member-table (car mrs)) (print-member-table (car mrs))
(print-member-source (car mrs)) (print-member-blame (car mrs))
(loop (cdr mrs)))))))) (loop (cdr mrs))))))))
((fees) ((fees)
(newline) (newline)