public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/emaint/
Date: Fri,  9 Feb 2024 07:29:05 +0000 (UTC)	[thread overview]
Message-ID: <1707463743.cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d.sam@gentoo> (raw)

commit:     cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d
Author:     Steffen Winter <steffen.winter <AT> proton <DOT> me>
AuthorDate: Thu Feb  8 23:29:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  9 07:29:03 2024 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=cf9dfb82

emaint: Print 'usage: ' only once in help message

`ArgumentParser` prepends 'usage: ' to the usage message already.

Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>
Closes: https://github.com/gentoo/portage/pull/1256
Signed-off-by: Sam James <sam <AT> gentoo.org>

 lib/portage/emaint/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/portage/emaint/main.py b/lib/portage/emaint/main.py
index 0c620a1a84..ad6eea359e 100644
--- a/lib/portage/emaint/main.py
+++ b/lib/portage/emaint/main.py
@@ -62,7 +62,7 @@ class OptionItem:
 
 
 def usage(module_controller):
-    _usage = "usage: emaint [options] COMMAND"
+    _usage = "emaint [options] COMMAND"
 
     desc = (
         "The emaint program provides an interface to system health "


             reply	other threads:[~2024-02-09  7:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09  7:29 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-08  3:29 [gentoo-commits] proj/portage:master commit in: lib/portage/emaint/ Sam James

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

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

  git send-email \
    --in-reply-to=1707463743.cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox