unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 58817@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#58817] [PATCH] etc: teams: Add help information for commands.
Date: Thu, 27 Oct 2022 11:09:09 -0400	[thread overview]
Message-ID: <20221027150909.370202-1-antero@mailbox.org> (raw)

* 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





             reply	other threads:[~2022-10-27 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 15:09 Antero Mejr via Guix-patches via [this message]
2022-11-03 16:42 ` [bug#58817] [PATCH] etc: teams: Add help information for commands Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221027150909.370202-1-antero@mailbox.org \
    --to=guix-patches@gnu.org \
    --cc=58817@debbugs.gnu.org \
    --cc=antero@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).