GNU bug report logs -
#58817
[PATCH] etc: teams: Add help information for commands.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Thu, 27 Oct 2022 15:10:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* etc/teams.scm.in (main): Add command information to usage help prompt.
---
Add help info so users don't have to read the source to use teams.scm.
etc/teams.scm.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/etc/teams.scm.in b/etc/teams.scm.in
index c27ea5271e..14cabbf6f2 100644
--- a/etc/teams.scm.in
+++ b/etc/teams.scm.in
@@ -601,6 +601,12 @@ (define (main . args)
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)))
--
2.37.3
This bug report was last modified 2 years and 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.