etc: teams: Add help information for commands.

* etc/teams.scm.in (main): Add command information to usage help prompt.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Antero Mejr 2022-10-27 11:09:09 -04:00 committed by Christopher Baines
parent 973dc4564e
commit 7a4f858f39
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 7 additions and 1 deletions

View File

@ -601,6 +601,12 @@ and REV-END, two git revision strings."
team-names))
(anything
(format (current-error-port)
"Usage: etc/teams.scm <command> [<args>]~%"))))
"Usage: etc/teams.scm <command> [<args>]
Commands:
cc <team-name> get git send-email flags for cc-ing <team-name>
cc-members <start> <end> cc teams related to files changed between revisions
list-teams list teams and their members
list-members <team-name> list members belonging to <team-name>~%"))))
(apply main (cdr (command-line)))