* [bug#58817] [PATCH] etc: teams: Add help information for commands.
@ 2022-10-27 15:09 Antero Mejr via Guix-patches via
2022-11-03 16:42 ` Christopher Baines
0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-10-27 15:09 UTC (permalink / raw)
To: 58817; +Cc: Antero Mejr
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#58817] [PATCH] etc: teams: Add help information for commands.
2022-10-27 15:09 [bug#58817] [PATCH] etc: teams: Add help information for commands Antero Mejr via Guix-patches via
@ 2022-11-03 16:42 ` Christopher Baines
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-11-03 16:42 UTC (permalink / raw)
To: Antero Mejr; +Cc: 58817-done, 58817
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
Antero Mejr via Guix-patches via <guix-patches@gnu.org> writes:
> * 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(-)
Looks good to me :) I've pushed this to master as
7a4f858f3922814adfbbc257440e0b15f54a58a9.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-03 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 15:09 [bug#58817] [PATCH] etc: teams: Add help information for commands Antero Mejr via Guix-patches via
2022-11-03 16:42 ` Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).