GNU bug report logs - #58817
[PATCH] etc: teams: Add help information for commands.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58817 in the body.
You can then email your comments to 58817 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58817; Package guix-patches. (Thu, 27 Oct 2022 15:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antero Mejr <antero <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 27 Oct 2022 15:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <antero <at> mailbox.org>
To: guix-patches <at> gnu.org
Cc: Antero Mejr <antero <at> mailbox.org>
Subject: [PATCH] etc: teams: Add help information for commands.
Date: Thu, 27 Oct 2022 11:09:09 -0400
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#58817; Package guix-patches. (Thu, 03 Nov 2022 16:43:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Antero Mejr <antero <at> mailbox.org>
Cc: 58817-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#58817] [PATCH] etc: teams: Add help information for commands.
Date: Thu, 03 Nov 2022 17:42:01 +0100
[Message part 1 (text/plain, inline)]
Antero Mejr via Guix-patches via <guix-patches <at> 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 03 Nov 2022 16:43:02 GMT) Full text and rfc822 format available.

Notification sent to Antero Mejr <antero <at> mailbox.org>:
bug acknowledged by developer. (Thu, 03 Nov 2022 16:43:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Dec 2022 12:24:07 GMT) Full text and rfc822 format available.

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.